On 14.03.2012, at 01:33, Luke Daley wrote:
>
> On 14/03/2012, at 12:04 AM, Joern Huxhorn wrote:
>
>> Hi and congrats to m9!
>>
>> Two things, though:
>> 1.)
>> http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html
>> as printed in the deprecation message currently results in an 404 but
>> http://gradle.org/docs/1.0-milestone-9/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html
>> works fine.
>
> Fixed, thanks.
>
>> 2.)
>> The documentation of the signing plugin at
>> http://gradle.org/docs/current/userguide/userguide_single.html#signing_plugin
>> still suggests
>> allprojects*.setProperty("signing.keyId", console.readLine("PGP Key Id: "))
>> allprojects*.setProperty("signing.secretKeyRingFile", console.readLine("PGP
>> Secret Key Ring File (absolute path): "))
>> allprojects*.setProperty("signing.password", console.readPassword("PGP
>> Private Key Password: "))
>> in the example.
>>
>> This results in a deprecation warning. And I don't really know what the
>> correct way to specify those properties would look like. I tried several
>> ways but had no luck so far.
>>
>> Need to catch some sleep now
>
> I'll get that fixed.
>
> The replacement will be:
>
> def id = console.readLine("PGP Key Id: ")
> def file = console.readLine("PGP Secret Key Ring File (absolute path): ")
> def password = console.readPassword("PGP Private Key Password: ")
>
> allprojects { ext."signing.keyId" = id }
> allprojects { ext."signing.secretKeyRingFile" = file }
> allprojects { ext."signing.password" = password }
>
Perfect, works!
And m9 is blazingly fast, too!
Cheers,
Joern.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email