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
Shibuya.Java #07
Search
grimrose
July 18, 2014
Programming
910
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Shibuya.Java #07
第七回 #渋谷java
http://shibuya-java.connpass.com/event/7060/
grimrose
July 18, 2014
Transcript
20 slides
だいたい 10分くらいで分かる どこが変わったの? Gradle 2.0 @grimrose 2014-07-19 第七回 #渋谷java
あなた誰? • twitter: ‘@grimrose’ • 好きな言語: Groovy • 好きなIDE: IntelliJ
IDEA
ちょっと宣伝 #yokohamagroovy #mattarigrails
何話すの? • Gradleって何? • 2.0での変更点 • 2014年のロードマップ
Gradleって何? • 次世代ビルドツール • 主にJava、Groovyで実装 • 現在 version 2.0 (2014-07-19時点)
師曰く 「世界で一番イケてる ビルドツール」
Gradle 祝! 2.0 リリース
その前に http://forums.gradle. org/gradle/topics/after_1_12_comes_ 2_0
その前に • 1.0のリリースは2012年6月 • 1.12で1.x系は最後 • 1.xでdeprecatedになったものの幾つか は、2.xで使えなくなる • 実験的な機能については、2.xで安定版
に • 2.xでも警告が出る機能は、3.0で使えな くなる
その前に • Groovy 2.xを採用 • 1.8.xとバイナリ互換性があるけど、幾つ かのpluginは2.xでビルドし直す必要が あるかも
祝 2.0 リリース http://www.gradle.org/docs/2.0/release-notes
何が変わったの? • 内部のGroovyを2.3.2にアップデート ◦ そのうちJava5だと動かなくなるよ • Java8対応 • 静的解析ツールのバージョンアップ ◦
Checkstyle: 5.7 ◦ CodeNarc: 0.21 ◦ PMD: 5.1.1 ◦ Findbugs: 2.0.3 ◦ JaCoCo: 0.7.1.201405082137 • etc...
注意点 • 以前から警告されているが、将来的にプロジェク トへの動的なプロパティの追加が使えなくなる ◦ defで定義する ◦ extブロックに • +=
演算子の動きが変更に ◦ configurationsでエラーになるかもしれない ので修正が必要
注意点 • deprecatedになったクラスやメソッドが消えた ◦ pluginを作っている人は、2.0に上げて確認 が必要かも
ちなみに http://www.gradle.org/docs/1.12/release-notes
ちなみに • テストレポートにignoreが表示されるように • 4GB以上のZipファイルの対応 • Tooling API ◦ 1.0-milestone-8以前のがdeprecatedに
◦ clientのAPIも1.2以前のがdeprecatedに • JUnitのXMLファイルでskipされたテストの扱い が変更に • etc...
2014のロードマップ http://forums.gradle. org/gradle/topics/revolutionary_new_gradle_f eatures_on_the_2014_roadmap
2014のロードマップ • 6~8週間隔でリリースする予定 • パフォーマンス ◦ configuration timeをもっと早く ◦ タスクの設定
▪ 基本的には並行可能に ▪ 常にcacheし、共有するように • 依存関係 ◦ 複数のバリアントに対応 ◦ Gemfile.lockに似た機構を取り入れるかも?
2014のロードマップ • 拡張性 ◦ hook pointを増やす • C/C++サポート ◦ Android向け
• Tooling and IDE support ◦ Android Studioからのフィードバック • Daemon with Watcher Mode ◦ 変更時に自動的にtask実行 • 互換性 ◦ 維持
最後に ご清聴ありがとうございました。
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
Ambiguous Groups #sqlap
grimrose
0
950
ぼっちプロジェクトとアジャイルサムライ
grimrose
0
310
Shibuya.Java #04
grimrose
1
690
I made out Gradle plug-in
grimrose
0
980
Other Decks in Programming
See All in Programming
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
980
PyConTW 2026 - AI Coding 不只是工具升級, 區域醫院醫療資訊系統協作開發與資訊團隊轉型實踐
cclai999
0
250
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
5
880
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
2.4k
学びを記事・スライド・Xへ高速展開する― AI-assisted Learning Loopで回すコンテンツ生成術
ochtum
0
210
コード生成時代のAPI定義を支えるRequest Spec移行
pvcresin
0
150
Growing PicoRuby's Ecosystem on ESP32
yuuu
2
130
SODA - FACT BOOK(JP)
sodainc
1
40k
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
350
Vue.jsで作る空間解析アプリとCapacitorプラグインのData Bridge
hal_spidernight
1
170
Getting Started with Vibe Coding
miccheng
0
220
Crash Auto Pipelines
veronikapj
1
420
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
96
6.9k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
AI: The stuff that nobody shows you
jnunemaker
PRO
12
1.3k
Ethics towards AI in product and experience design
skipperchong
2
460
Visualization
eitanlees
153
17k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
560
Rails Girls Zürich Keynote
gr2m
96
14k
Thoughts on Productivity
jonyablonski
76
5.5k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
The SEO Collaboration Effect
kristinabergwall1
1
620