You are viewing details from a past event. Please check our upcoming event schedule if you are looking for current content.

Gradle Workshop

Tuesday, 9:00 AM MDT - GRAY'S PEAK (2ND FLOOR)

The Gradle build tool has been adopted by the vast majority of open source projects and is growing rapidly in industry as well. Gradle provides a powerful DSL for customizing and managing your build, with flexible configuration features and sophisticated dependency management. Gradle is also actively supported by a commercial entity, and in partnership with companies like Netflix and LinkedIn is currently being optimized for performance.

This workshop is designed to get you started on Gradle, from its basic capabilities up through advanced techniques like build scans, the build cache, and resolutions strategies.

Topics will include:

  • Projects and tasks
  • Initialization, configuration, and execution times
  • File system capabilities
  • Incremental builds
  • Script and binary plugins
  • Dependency management
  • Multi-project builds
  • Build scans
  • The build cache
  • Creating your own plugin

Workshop Requirements

This session is a workshop. Please come prepared.

This workshop will use the latest version of Gradle, which is currently 4.0.1. The contents will support versions of Gradle back to approximately 2.2, but the latest version has substantial performance improvements that will be demonstrated during the training.

Gradle requires Java 1.7 or above. The latest standard edition can be downloaded at http://www.oracle.com/technetwork/java/javase/downloads/index.html .

Gradle can be downloaded and installed in several ways. See https://gradle.org/install/ for details. Basically all you need to do is download the zip file, unzip it, set a GRADLE_HOME environment variable to point to your unzipped distribution, and add the bin directory to your path. There are installers available that will do all that for you, but a manual install also fine.

For editors, the workshop does not require one, but if you want a simple text editor that does syntax highlighting, you might want to try Atom (https://atom.io/). Both IntelliJ and Eclipse support will be demonstrated.

Any required materials or exercises will be provided online and in a GitHub repo during the class.

About Kenneth Kousen

Kenneth Kousen

Ken Kousen is a Java Champion, several time JavaOne Rock Star, and a Grails Rock Star. He is the author of the Pragmatic Library books “Mockito Made Clear” and “Help Your Boss Help You,” the O'Reilly books “Kotlin Cookbook”, “Modern Java Recipes”, and “Gradle Recipes for Android”, and the Manning book “Making Java Groovy”. He also has recorded over a dozen video courses for the O'Reilly Learning Platform, covering topics related to Android, Spring, Java, Groovy, Grails, and Gradle.

His academic background include BS degrees in Mechanical Engineering and Mathematics from M.I.T., an MA and Ph.D. in Aerospace Engineering from Princeton, and an MS in Computer Science from R.P.I. He is currently President of Kousen IT, Inc., based in Connecticut.

More About Kenneth »