gradle 2.0 and beyond (greach 2015)
TRANSCRIPT
IN A NUTSHELLapply plugin:'java'
version = file("version.txt").text
repositories { jcenter()}
dependencies { testCompile "junit:junit:4.+"}
task printVersion << { println "We're using - version '$version'!" }
HIGHLIGHTS SINCE 2.0Sharing configuration files across buildsNative Build Support improvements
Simplified cross compilation supportParallel compilation support (in 2.4)
Dependency Management improvementsSftp backed ivy/maven support (S3 support in 2.4)Artifact Query API
Initial Play SupportGradle Plugin Portal
BUILDSHIPECLIPSE PLUG-INS FOR GRADLE
officially announced at eclipsecon in SF in marchnew development from scratch by Gradlewareeclipse foundation projectpart of Eclipse Mars (expected July 2015)
WATCHER MODEin partnership with linkedininitially driven by play supportjavascript, asciidoctor, etc. ..continuously track inputs
CONFIGURATION TIMEcurrent situation
everything is configured on every invocationaffects also IDE integration-> not scaling
CONFIGURATION TIME IIperformance camp for 2.4new configuration model
configure only what is requiredreuse cached configurationsallow parallizationbetter visualization
DEPENDENCYMANAGEMENT
current sitationgroup, name and versionjava, groovy, scala versionsandroid, c++, javascript
variant aware dependency notationallow arbitrary dimensions + custom metadata
FUNDAMENTALLYPARALLELIZABLE
current situationparallelization is per projectprojects are properly decoupledconfiguration phase for projects
parallized task executionparallized configuration phase
LINKS AND POINTERShttp://discuss.gradle.org/c/roadmaphttp://gradle.org/downloads/http://j.mp/master_gradle_release_notes