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
940
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
6.1k
I wanna tell you about "Groovy Template"
grimrose
3
5.4k
Groovy Shell with Gradle
grimrose
0
5.2k
Shibuya.Java #07
grimrose
0
880
Ambiguous Groups #sqlap
grimrose
0
920
ぼっちプロジェクトとアジャイルサムライ
grimrose
0
290
Shibuya.Java #04
grimrose
1
640
Other Decks in Programming
See All in Programming
株式会社 Sun terras カンパニーデック
sunterras
0
2k
朝日新聞のデジタル版を支えるGoバックエンド ー価値ある情報をいち早く確実にお届けするために
junkiishida
1
770
社内規程RAGの精度を73.3% → 100%に改善した話
oharu121
13
7.8k
ロボットのための工場に灯りは要らない
watany
7
2.1k
Railsの気持ちを考えながらコントローラとビューを整頓する/tidying-rails-controllers-and-views-as-rails-think
moro
5
390
New in Go 1.26 Implementing go fix in product development
sunecosuri
0
400
AI時代でも変わらない技術コミュニティの力~10年続く“ゆるい”つながりが生み出す価値
n_takehata
2
690
ご飯食べながらエージェントが開発できる。そう、Agentic Engineeringならね。
yokomachi
1
290
AI Assistants for Your Angular Solutions
manfredsteyer
PRO
0
130
maplibre-gl-layers - 地図に移動体たくさん表示したい
kekyo
PRO
0
230
CSC307 Lecture 13
javiergs
PRO
0
320
nuget-server - あなたが必要だったNuGetサーバー
kekyo
PRO
0
220
Featured
See All Featured
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
98
Facilitating Awesome Meetings
lara
57
6.8k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.5k
A Modern Web Designer's Workflow
chriscoyier
698
190k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
61
52k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
290
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
Being A Developer After 40
akosma
91
590k
The Cult of Friendly URLs
andyhume
79
6.8k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
130
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最高!
最後に ご清聴ありがとうございました。