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
Shibuya.Java #07
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
grimrose
July 18, 2014
Programming
890
0
Share
Shibuya.Java #07
第七回 #渋谷java
http://shibuya-java.connpass.com/event/7060/
grimrose
July 18, 2014
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
Ambiguous Groups #sqlap
grimrose
0
940
ぼっちプロジェクトとアジャイルサムライ
grimrose
0
300
Shibuya.Java #04
grimrose
1
650
I made out Gradle plug-in
grimrose
0
960
Other Decks in Programming
See All in Programming
プラグインで拡張される Context をtype-safe にする難しさと設計判断
kazupon
2
590
Spring Security 実践 ─ GraphQL APIで実務に役立つ 認証・認可 を学ぶ
wagyu
0
130
AI駆動開発で崩れていくコードベースを立て直す
kyoko_nr_nr
1
430
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
12k
OSもどきOS
arkw
0
450
Lessons from Spec-Driven Development
simas
PRO
0
140
権限チェックの一貫性を型で守る TypeScript による多層防御
mnch
4
1.1k
正しくソフトウェアを作る、前提を疑うための認知の視点 / doubt-premise
minodriven
17
5.9k
Lemonade + Foundry Toolkit でお手軽アプリ開発
seosoft
1
310
軽量Java基盤の設計 DIコンテナに頼らない、長期保守と1秒起動の実現 JJUG CCC 2026 Spring
macha64
0
450
Inside Stream API
skrb
1
640
AIエージェントの隔離技術の徹底比較
kawayu
0
460
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
580
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
280
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4k
Exploring anti-patterns in Rails
aemeredith
3
390
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
260
The Pragmatic Product Professional
lauravandoore
37
7.3k
Done Done
chrislema
186
16k
Discover your Explorer Soul
emna__ayadi
2
1.1k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1.1k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
Transcript
だいたい 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実行 • 互換性 ◦ 維持
最後に ご清聴ありがとうございました。