Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
I made out Gradle plug-in
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
grimrose
September 20, 2013
Programming
970
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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.9k
Gradleで始めるGroovy expand #jjug_ccc #ccc_r14
grimrose
4
6.2k
I wanna tell you about "Groovy Template"
grimrose
3
5.5k
Groovy Shell with Gradle
grimrose
0
5.3k
Shibuya.Java #07
grimrose
0
900
Ambiguous Groups #sqlap
grimrose
0
950
ぼっちプロジェクトとアジャイルサムライ
grimrose
0
310
Shibuya.Java #04
grimrose
1
680
Other Decks in Programming
See All in Programming
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
0
350
dotNET_vulnclicker_intro.pdf
deka_morita
0
140
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
720
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
170
TechTown - Creating Composable Callables in Contemporary C++
rollbear
0
120
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
600
AWSに止められる覚悟してますか?
morizo_1984
2
530
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
150
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
4
2.9k
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
210
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
530
Featured
See All Featured
Everyday Curiosity
cassininazir
0
350
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
Writing Fast Ruby
sferik
630
63k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
570
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.3k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
530
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
710
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最高!
最後に ご清聴ありがとうございました。