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
grimrose
July 18, 2014
Programming
0
830
Shibuya.Java #07
第七回 #渋谷java
http://shibuya-java.connpass.com/event/7060/
grimrose
July 18, 2014
Tweet
Share
More Decks by grimrose
See All by grimrose
だいたい10分くらいで 知った気になれる Vert.x 3.0 #渋谷Java / Shibuya.java #11
grimrose
0
1.8k
Syobochim should read book of modeling #syoboben
grimrose
0
1.7k
Gradleで始めるGroovy expand #jjug_ccc #ccc_r14
grimrose
4
5.9k
I wanna tell you about "Groovy Template"
grimrose
3
5.3k
Groovy Shell with Gradle
grimrose
0
5.2k
Ambiguous Groups #sqlap
grimrose
0
870
ぼっちプロジェクトとアジャイルサムライ
grimrose
0
260
Shibuya.Java #04
grimrose
1
610
I made out Gradle plug-in
grimrose
0
910
Other Decks in Programming
See All in Programming
CSC307 Lecture 17
javiergs
PRO
0
110
Cline指示通りに動かない? AI小説エージェントで学ぶ指示書の書き方と自動アップデートの仕組み
kamomeashizawa
1
490
Select API from Kotlin Coroutine
jmatsu
1
150
從零到一:搭建你的第一個 Observability 平台
blueswen
1
910
Datadog RUM 本番導入までの道
shinter61
1
280
コード書くの好きな人向けAIコーディング活用tips #orestudy
77web
3
300
Beyond Portability: Live Migration for Evolving WebAssembly Workloads
chikuwait
0
360
Prism.parseで 300本以上あるエンドポイントに 接続できる権限の一覧表を作ってみた
hatsu38
1
110
Enterprise Web App. Development (2): Version Control Tool Training Ver. 5.1
knakagawa
1
110
実践ArchUnit ~実例による検証パターンの紹介~
ogiwarat
2
260
AIエージェントによるテストフレームワーク Arbigent
takahirom
0
370
Spring gRPC で始める gRPC 入門 / Introduction to gRPC with Spring gRPC
mackey0225
2
490
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.3k
Making the Leap to Tech Lead
cromwellryan
134
9.3k
A Tale of Four Properties
chriscoyier
159
23k
The Pragmatic Product Professional
lauravandoore
35
6.7k
Why Our Code Smells
bkeepers
PRO
337
57k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
How STYLIGHT went responsive
nonsquared
100
5.6k
Statistics for Hackers
jakevdp
799
220k
Bash Introduction
62gerente
614
210k
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実行 • 互換性 ◦ 維持
最後に ご清聴ありがとうございました。