On 08/10/2011, at 10:30 AM, Joern Huxhorn wrote: > I just wanted to try the latest m5 snapshot but stumbled. > > According to documentation, the latest snapshots are located at > http://repo.gradle.org/gradle/distributions-snapshots/ > > So I tried configuring the wrapper like this: > task wrapper(type: Wrapper) { > gradleVersion = '1.0-milestone-5-20111008000006+0200' > } > > I executed the wrapper task with 1.0-m4 but calling Gradle using gradlew is > now giving me > Downloading > http://repo.gradle.org/gradle/distributions/gradle-snapshots/gradle-1.0-milestone-5-20111008000006+0200-bin.zip > > Exception in thread "main" java.io.FileNotFoundException: > http://repo.gradle.org/gradle/distributions/gradle-snapshots/gradle-1.0-milestone-5-20111008000006+0200-bin.zip > > The base-url used to retrieve the snapshot seems to have changed. > http://repo.gradle.org/gradle/distributions/gradle-snapshots/ does not > contain the latest snapshot. > > How can I get this working?
You can edit gradle/wrapper/gradle-wrapper.properties and fix the url. -- Adam Murdoch Gradle Co-founder http://www.gradle.org VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting http://www.gradleware.com