Gradle 1.9 released

All Gradle users are encouraged to upgrade to this latest version of Gradle which focuses on critical bug fixes and performance improvements.

Several of the new features and improvements have been contributed by the community. Thank you to all who contributed and please keep the pull requests coming.

Highlights of the Gradle 1.9 Release

The following sections outline the major highlights of the Gradle 1.9 release.

New HTML Dependency Report

The new HTML dependency report added in this release leverages the richness of HTML to both provide more information and present options for navigating dependency information.

This richer report is a compelling alternative to the existing console-based report, and it is extremely useful for analyzing and understanding large dependency graphs.

New Templates for Gradle Projects

This release adds two new project types for use with the ‘init’ command (formerly named ‘buildSetup’), ‘groovy-library’ and ‘scala-library’ for creating Groovy and Scala libraries respectively.

Faster Incremental and Parallel Builds with Gradle Daemon

Build performance has been further improved when using the Gradle Daemon.

All users will benefit from faster incremental builds and those building Java projects in parallel will notice further build time reductions.

Variants for Native Applications

Native application support gained an important new feature in this release: “variants”.

Variants can model different ways to construct and build a binary.

For example, you can have variants for different CPU architectures (x86 vs. x64) or you can model a build that produces a variant with debug symbols and a variant without debug symbols.

In a given build invocation, all variants may be built in one invocation or just a subset.

If you are familiar with the variant modeling capability available in the Android Gradle plugin, this same approach is now available for builds in C and C++.

Gradle’s native application support is still under development, and while it is being used in production environments at several organizations it is still a developer preview.

Announcing Gradle Summit 2014

Gradleware is happy to announce the 2nd Gradle Summit to be held in Santa Clara from June 12th to June 14th, 2014 in Santa Clara, California at the Hyatt Regency.

For more information about the Gradle Summit, and to inquiry about registration, please contact Gradleware at

Watch our blog for an announcement of the lineup of speakers, the call for papers and a pointer to the Gradle Summit website.

Is there an example which explain how to setup a native project for example:

  • Howto use dependencies in different flavors for example win-x86 win-x64 linux-x86 and so on. - Howto build for different platforms with GCC and VC10.

Grab the source ZIP and look in: gradle-1.9\subprojects\docs\src\samples\

There are tons of samples including a “native-binaries” folder with C, C++, Assembler, executable and library projects. I’m not sure what state they are in, as I’m just beginning to experiment with native projects as well, but it’s a start.