Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
I made out Gradle plug-in
Search
grimrose
September 20, 2013
Programming
0
910
I made out Gradle plug-in
http://jggug.doorkeeper.jp/events/5745
JGGUG名物・ライトじゃないLT大会 - JGGUG G*ワークショップZ Sep 2013
grimrose
September 20, 2013
Tweet
Share
More Decks by grimrose
See All by grimrose
だいたい10分くらいで 知った気になれる Vert.x 3.0 #渋谷Java / Shibuya.java #11
grimrose
0
1.8k
Syobochim should read book of modeling #syoboben
grimrose
0
1.8k
Gradleで始めるGroovy expand #jjug_ccc #ccc_r14
grimrose
4
5.9k
I wanna tell you about "Groovy Template"
grimrose
3
5.3k
Groovy Shell with Gradle
grimrose
0
5.2k
Shibuya.Java #07
grimrose
0
840
Ambiguous Groups #sqlap
grimrose
0
880
ぼっちプロジェクトとアジャイルサムライ
grimrose
0
260
Shibuya.Java #04
grimrose
1
610
Other Decks in Programming
See All in Programming
Startups on Rails in Past, Present and Future–Irina Nazarova, RailsConf 2025
irinanazarova
0
250
AI時代の『改訂新版 良いコード/悪いコードで学ぶ設計入門』 / ai-good-code-bad-code
minodriven
24
9.6k
iOS 26にアップデートすると実機でのHot Reloadができない?
umigishiaoi
0
140
MDN Web Docs に日本語翻訳でコントリビュートしたくなる
ohmori_yusuke
1
130
Model Pollution
hschwentner
1
160
SQLアンチパターン第2版 データベースプログラミングで陥りがちな失敗とその対策 / Intro to SQL Antipatterns 2nd
twada
PRO
16
2.9k
[SRE NEXT] 複雑なシステムにおけるUser Journey SLOの導入
yakenji
0
150
チームのテスト力を総合的に鍛えて品質、スピード、レジリエンスを共立させる/Testing approach that improves quality, speed, and resilience
goyoki
5
1.1k
Vibe Codingの幻想を超えて-生成AIを現場で使えるようにするまでの泥臭い話.ai
fumiyakume
12
5k
「App Intent」よくわからんけどすごい!
rinngo0302
1
110
PipeCDのプラグイン化で目指すところ
warashi
1
310
NEWT Backend Evolution
xpromx
1
140
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.5k
Scaling GitHub
holman
460
140k
The Invisible Side of Design
smashingmag
301
51k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
990
How to Ace a Technical Interview
jacobian
278
23k
A Modern Web Designer's Workflow
chriscoyier
695
190k
How GitHub (no longer) Works
holman
314
140k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
Designing for humans not robots
tammielis
253
25k
Balancing Empowerment & Direction
lara
1
460
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
2.9k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
750
Transcript
Gradleプラグインを 作ってみた @grimrose 2013-09-20 JGGUG名物・ライトじゃないLT大会 JGGUG G*ワークショップZ Sep 2013
あなた誰? • twitter: @grimrose • 普段はJava6でお仕事
ちょっと宣伝 #yokohamagroovy #mattarigrails
何を話すの? • Gradleって何? • どうして作ったの? • どうすれば作れるの? • で、どうだった? •
今後は?
Gradleって何? • 次世代ビルドツール • 主にJava、Groovyで実装 • 現在 version 1.7 (2013-09-20時点)
◦ 1.8-rc2リリース • Android Studioも採用 • pluginによりビルドツール以外でも使え る
師曰く 「世界で一番イケてる ビルドツール」
書籍は? • WEB+DB PRESS vol.76 ◦ Groovyの使い方 ◦ Gradleのセットアップ ◦
Webアプリケーションでの使 い方 • O’Reillyに幾つか(英語で)
日本語じゃないと… Gradle 日本語ドキュメント (Gradle User Guideを翻訳)
どうして作ったの? • 担当及び役割 ◦ 要件定義から保守まで ◦ 全て一人 • 全て手作業? ◦
無理
ならば 自動化だ!
なんで出来るの? • Gradleのplugin機構 • pluginのテストツール • buildSrc
どうすれば作れるの? • まずは、Taskを作る • 次に、配布の方法を決める • 後は、Pluginにまとめる
分からなかったら? Gradle User Guideを見る (特に57, 58)
それでも分からなかったら? 他のPluginのソースを見る (gradle/gradle/subprojects)
で、どうだった? • TaskもTDDで作れる • Gradleの勉強にもなった • 先人の知恵のお陰でなんとか 出来た • 公開するのは、意外と簡単
今後は? eat your own dog food
やっぱり Gradle最高!
最後に ご清聴ありがとうございました。