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'.


Thanks,
James

On Thu, May 17, 2012 at 9:38 AM, Luke Daley <[email protected]> wrote:
>
> On 17/05/2012, at 3:36 PM, Vinod Sajja wrote:
>
> Also, is it possible to configure the Gradle Wrapper to an internal
> repository?
>
>
> Yes,
> see http://gradle.org/docs/current/dsl/org.gradle.api.tasks.wrapper.Wrapper.html#org.gradle.api.tasks.wrapper.Wrapper:distributionUrl
>
>
> On Thu, May 17, 2012 at 10:32 AM, James Carr <[email protected]> wrote:
>>
>> Looking at http://repo.gradle.org/gradle/distributions/ it looks like
>> all releases of 8a and above have been removed... what gives?
>>
>>
>> Thanks,
>> James
>>
>> On Thu, May 17, 2012 at 9:31 AM, James Carr <[email protected]>
>> wrote:
>> > Recently we converted a bunch of our builds to use gradle wrapper to
>> > ensure portability.
>> >
>> > Sadly since yesterday afternoon projects trying to use gradlewrapper
>> > for the first time get this exception:
>> >
>> > Caused by: java.io.FileNotFoundException:
>> >
>> > http://repo.gradle.org/gradle/distributions/gradle-1.0-milestone-9-bin.zip
>> >
>> > Has it moved? Is it possible to put a 302 redirect or something in
>> > place if it has? This has essnetially broken all the builds I
>> > converted to use wrapper conveniently after I made the case for using
>> > it. :S
>> >
>> >
>> > Thanks,
>> > James
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>
>
> --
> Luke Daley
> Principal Engineer, Gradleware
> http://gradleware.com
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to