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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
grimrose
September 20, 2013
Programming
950
0
Share
I made out Gradle plug-in
http://jggug.doorkeeper.jp/events/5745
JGGUG名物・ライトじゃないLT大会 - JGGUG G*ワークショップZ Sep 2013
grimrose
September 20, 2013
More Decks by grimrose
See All by grimrose
だいたい10分くらいで 知った気になれる Vert.x 3.0 #渋谷Java / Shibuya.java #11
grimrose
0
1.9k
Syobochim should read book of modeling #syoboben
grimrose
0
1.8k
Gradleで始めるGroovy expand #jjug_ccc #ccc_r14
grimrose
4
6.1k
I wanna tell you about "Groovy Template"
grimrose
3
5.4k
Groovy Shell with Gradle
grimrose
0
5.3k
Shibuya.Java #07
grimrose
0
890
Ambiguous Groups #sqlap
grimrose
0
930
ぼっちプロジェクトとアジャイルサムライ
grimrose
0
300
Shibuya.Java #04
grimrose
1
650
Other Decks in Programming
See All in Programming
サプライチェーン攻撃対策「層を重ねて落ちない壁」を10日間で組み上げた話 #TechLeadConf2026
kashewnuts
1
290
Kubernetesを使わない環境にもCloud Nativeなデプロイを実現する / Enabling Cloud Native deployments without the complexity of Kubernetes
linyows
3
420
[BalkanRuby 2026] Drop your app/services!
palkan
3
560
ReactとSvelteのその先、Ripple-TS / Beyond React and Svelte: Ripple-TS
ssssota
0
290
書き換えて学ぶTemporal #fukts
pirosikick
2
380
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
420
Are We Really Coding 10× Faster with AI?
kohzas
0
190
新規プロダクトを高速で生み出すハーネスエンジニアリング
seanchas116
3
190
サーバーレスで作る、動画データ管理基盤
oyasumipants
0
220
20年以上続くプロダクトでも使い続けられる静的解析ツールを求めて
matsuo_atsushi
0
150
Spec-Driven Development with AI Agents (Workshop, May 2026)
antonarhipov
3
400
AI時代だからこそ「Bloc」を採用する価値があるのかもしれない
takuroabe
0
190
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
65
54k
We Have a Design System, Now What?
morganepeng
55
8.1k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
300
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
290
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.1k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
150
Typedesign – Prime Four
hannesfritz
42
3k
Believing is Seeing
oripsolob
1
130
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
300
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最高!
最後に ご清聴ありがとうございました。