gradle 2.0 and beyond (greach 2015)

23

Upload: rene-groeschke

Post on 07-Aug-2015

709 views

Category:

Software


0 download

TRANSCRIPT

GRADLE 2.0AND BEYONDGREACH 2015, MadridRené GröschkePrincipal Engineer Gradleware

LATEST EFFORTS, CURRENT STATUS& ROADMAP

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'!" }

GRADLE 2.0RELEASED 1ST JULY 2014

GRADLE 2.3RELEASED 16TH FEBRUARY 2015

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

 

 

DEMO

 

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

MORE TO COMEshared cacheshared build artifactsnext level native build supporteven better tooling

LINKS AND POINTERShttp://discuss.gradle.org/c/roadmaphttp://gradle.org/downloads/http://j.mp/master_gradle_release_notes

Q&A

¡MUCHASGRACIAS!

@breskeby

github.com/breskeby

[email protected]