Gradle 2.1-rc-2 is now available for testing

The Gradle team is pleased to announce that the second release candidate for Gradle 2.1 is now available.

This addresses the following issues identified with 2.1-rc-1:

  • GRADLE-3152 - Regression: NullPointerException in Gradle 2.1-rc-1 * GRADLE-3154 - Gradle 2.1 RC1 Failed to apply plugin [id ‘ear’]

Download links and release notes can be found as always at http://gradle.org/release-candidate.

Please try Gradle 2.1-rc-2 with your projects and let us know your experiences.

Everything fine with my usual three projects.

I upgraded from Gradle 2.1-rc-1 to 2.1-rc-2 this morning and now there is a problem with the compass plugin. I see the following

:webapp:installCompass
ERROR:
Could not find a valid gem 'compass' (>= 0), here is why:
          Unable to download data from https://rubygems.org/ - Errno::ECONNREFUSED: Connection refused - Connection refused (https://rubygems.org/latest_specs.4.8.gz)
:webapp:installCompass FAILED
  FAILURE: Build failed with an exception.
  * What went wrong:
Execution failed for task ':webapp:installCompass'.
> Process 'command '/usr/lib64/jvm/java-1.7.0-openjdk-1.7.0/bin/java'' finished with non-zero exit value 2

Using 2.1-rc-2 with --info options I see

Executing task ':webapp:installCompass' (up-to-date check took 0.05 secs) due to:
  No history is available.

With 2.1-rc-1 (or 1.12) the item is just skipped

:webapp:installCompass UP-TO-DATE

(I’m on holidays until 1st Sep) Any thoughts on fixing GRADLE-3153 in 2.1? It causes client’s builds break when updating to 2.1. I’d love to see it fixed in 2.1 as we are having hard time using 2.0 due to GRADLE-3141.