Hans
Yep but doing this:
uploadLibs {
uploadResolvers.addMavenDeployer('repo-deployer') {
addProtocolProviderJars(dependencies.resolve('deployerJars'))
repository(url: "file:///tmp/repository/groovy/")
snapshotRepository(url: "file:///tmp/snapshots.repository/groovy/")
}
}
creates the whole file tree according to groupId, project name & version
but the following does not create any dir
uploadLibs {
uploadResolvers.addMavenDeployer('repo-deployer') {
addProtocolProviderJars(dependencies.resolve('deployerJars'))
repository(url: 'https://dav.codehaus.org/snapshots/groovy/') {
authentication(userName: "${username}", password: "${password}")
}
snapshotRepository(url: '
https://dav.codehaus.org/snapshots.repository/groovy/') {
authentication(userName: "${username}", password: "${password}")
}
}
}
On Tue, Apr 7, 2009 at 12:20 AM, Hans Dockter <[email protected]> wrote:
>
> On Apr 6, 2009, at 6:16 PM, Russel Winder wrote:
>
> Guillaume,
>>
>> I used to think this using the Maven Ant task from Gant to upload Gant
>> to the Maven repository, then all of a sudden it just started creating
>> the directories as needed. I have no idea what changed, but as it now
>> works I didn't investigate. Clearly Gradle needs the same fairy dust.
>>
>
> Gradle can do this already. See the chapter Interaction with Maven
> Repositories in the user's guide:
> http://gradle.org/userguide/0.5.2/userguidech15.html#x44-10500015
>
> - Hans
>
> --
> Hans Dockter
> Gradle Project lead
> http://www.gradle.org
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
>
--
PGP KeyID: 1024D/47172155
FingerPrint: C739 8B3C 5ABF 127F CCFA 5835 F673 370B 4717 2155
http://cheztog.blogspot.com