Been learning Gradle as a build tool now and quite impressed. Have a problem with Gradle after version 1.1, so this means 1.2, 1.3 and 1.4. Note this is being tested on Apple iMac OSX 10.5.8 PPC chipset, so may not apply to you. My java is :
tiny:~ jim$ java -version java version "1.5.0_30" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_30-b03-389-9M3425) Java HotSpot(TM) Client VM (build 1.5.0_30-161, mixed mode, sharing)
Gradle fails on any access to any HTTPS repository that needs SSL Authentication.
tiny:caelyf-template-project-0.1d jim$ gradle build Creating properties on demand (a.k.a. dynamic properties) has been deprecated and is scheduled to be removed in Gradle 2.0. Please read http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html for information on the replacement for dynamic properties. Deprecated dynamic property: "webAppDirName" on "root project 'caelyf-template-project-0.1d'", value: "/Volumes/Media/Softwar...". FAILURE: Build failed with an exception. * What went wrong: Could not resolve all dependencies for configuration ':compile'. > Could not resolve org.codehaus.groovy:groovy:2.0.5. Required by: :caelyf-template-project-0.1d:0.1 > Failure initializing default system SSL context
indicating the HTTPS / SSL access breakage does not happen before gradle version 1.1. So as a side-step, i’ve change my build.gradle wrapper version back to version 1.1 and from a terminal command line :
then as long as i use gradlew – the wrapper version of gradle, it works fine. If i try to use my installed version 1.4, just using the gradle command, it will fail.