[GRADLE-1261] Wrapper task uses codehaus URL by default for 0.9 release Created: 19/Dec/10  Updated: 04/Jan/13  Resolved: 28/Dec/10

Status: Resolved
Project: Gradle
Affects Version/s: 0.9
Fix Version/s: 0.9.1

Type: Bug
Reporter: Luke Taylor Assignee: Hans Dockter
Resolution: Fixed Votes: 2


 Description   

When attempting to upgrade my build's wrapper task to 0.9, it attempts to download http://dist.codehaus.org/gradle/gradle-0.9-bin.zip, which doesn't exist.

org.gradle.api.tasks.wrapper.Wrapper.DEFAULT_URL_ROOT is hard-coded to "http://dist.codehaus.org/gradle", whereas the distro is actually available through the http://gradle.artifactoryonline.com/gradle/distributions.

It is possible to workaround this by setting the urlRoot property of the wrapper task explicitly, but the default should probably be able to handle creating a wrapper for the current version (or even multiple versions) out of the box.


Generated at Wed Jun 30 11:51:02 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.