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
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
570
Rails初心者がパスキーを実装してみて大変だったこと
ktombow
0
190
Kawaiicon: Kubernetes, it's no longer cool, but let's secure it anyway!
barnbarn
0
130
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
160
Engineering Biometric UX Across Android Versions | DroidKnights 2026
ryunen344
1
210
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
380
DroidKnights 2026 Android A2UI Jetpack Compose 기반의 안전한 AI UI 렌더링 - 박제창
itsmedreamwalker
1
230
GraphQL の onError と Nullability のこれから
quramy
0
220
自宅サーバはどこまで再現できるのか - Proxmox VE上のVM環境をIaCとバックアップで戻してみた
youto
0
260
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
110
Будущее локальных LLM – Алексей Голобурдин, PythoNN
sobolevn
0
120
止まらない比較を止める — 余帰納法で無限ストリームを比べる
tarao
0
160
Featured
See All Featured
Abbi's Birthday
coloredviolet
5
11k
We Have a Design System, Now What?
morganepeng
55
8.4k
Designing for humans not robots
tammielis
254
26k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.3k
What the history of the web can teach us about the future of AI
inesmontani
PRO
3
810
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
60k
Exploring anti-patterns in Rails
aemeredith
4
570
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Leo the Paperboy
mayatellez
11
2.5k
The Curious Case for Waylosing
cassininazir
1
610
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.7k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
6
930