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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
grimrose
September 20, 2013
Programming
0
930
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.9k
Syobochim should read book of modeling #syoboben
grimrose
0
1.8k
Gradleで始めるGroovy expand #jjug_ccc #ccc_r14
grimrose
4
6k
I wanna tell you about "Groovy Template"
grimrose
3
5.4k
Groovy Shell with Gradle
grimrose
0
5.2k
Shibuya.Java #07
grimrose
0
870
Ambiguous Groups #sqlap
grimrose
0
910
ぼっちプロジェクトとアジャイルサムライ
grimrose
0
280
Shibuya.Java #04
grimrose
1
640
Other Decks in Programming
See All in Programming
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
180
Oxlintはいいぞ
yug1224
5
1.3k
CSC307 Lecture 01
javiergs
PRO
0
690
CSC307 Lecture 07
javiergs
PRO
1
550
CSC307 Lecture 06
javiergs
PRO
0
690
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
200
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
7.4k
高速開発のためのコード整理術
sutetotanuki
1
400
CSC307 Lecture 02
javiergs
PRO
1
780
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1.4k
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
690
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
460
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
46
8k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
GraphQLとの向き合い方2022年版
quramy
50
14k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
How to Ace a Technical Interview
jacobian
281
24k
Building Adaptive Systems
keathley
44
2.9k
The Curious Case for Waylosing
cassininazir
0
240
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
110
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最高!
最後に ご清聴ありがとうございました。