[GRADLE-2272] gradle wrapper broken in 1.0-rc-3 Created: 03/May/12  Updated: 04/Jan/13  Resolved: 15/Nov/12

Status: Resolved
Project: Gradle
Affects Version/s: 1.0-rc-3
Fix Version/s: None

Type: Bug
Reporter: Clark Archer Assignee: Unassigned
Resolution: Not A Bug Votes: 0

Issue Links:
Duplicate
Duplicates GRADLE-2225 Wrapper task generates incorrect disb... Resolved

 Description   

After updating the wrapper task, gradlew gives the following exception:

aus1-l6033:bacon carcher$ gradlew run
Downloading http://repo.gradle.org/gradle/distributions/gradle-1.0-rc-3-bin.zip

Exception in thread "main" java.io.FileNotFoundException: http://repo.gradle.org/gradle/distributions/gradle-1.0-rc-3-bin.zip
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434)
	at org.gradle.wrapper.Download.downloadInternal(Download.java:49)
	at org.gradle.wrapper.Download.download(Download.java:37)
	at org.gradle.wrapper.Install.createDist(Install.java:54)
	at org.gradle.wrapper.Wrapper.execute(Wrapper.java:80)
	at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:37)

Here is the contents of our wrapper task:

task wrapper(type: Wrapper) {
  gradleVersion = '1.0-rc-3'
}


 Comments   
Comment by René Gröschke (Inactive) [ 03/May/12 ]

As a workaround you can manually update your gradle-wrapper.properties to use this url to get the rc3 version: http\://services.gradle.org/distributions/gradle-1.0-rc-3-bin.zip

Comment by Clark Archer [ 03/May/12 ]

Thanks, that workaround fixes the issue for me.

Generated at Wed Jun 30 12:17:25 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.