On 17/05/2012, at 3:45 PM, James Carr wrote:
> What am I doing wrong here?
>
> task wrapper(type: Wrapper) {
> gradleVersion = 'gradle-1.0-rc-3'
> distributionUrl='http://services.gradle.org/distributions/'
> }
>
> I keep getting
>
> Cause: Unexpected Gradle version 'gradle-1.0-rc-3'.
One time, you need to update distributionUrl in the
gradle/wrapper/gradle-wrapper.properties file to
http\://services.gradle.org/distributions/gradle-1.0-rc-3-all.zip
Then just run a gradle task, but not wrapper. Then you'll have the new version.
Next time you upgrade you just bump gradleVersion in the wrapper config as per
normal. You don't specify distributionUrl in the task if you're downloading
from our servers.
--
Luke Daley
Principal Engineer, Gradleware
http://gradleware.com
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email