On Mon, Sep 26, 2011 at 2:50 PM, Luke Daley <[email protected]>wrote:

>
> There is a key difference between Gradle and Ivy in that Gradle has a much
> richer model and things are less direct. This richer model enables Gradle to
> do a lot of work for you.
>
> So basically, you are trying to find out how to do “X” that you are used to
> doing with Ivy but the same concept does not transfer in this new world.
>


I am just trying to see how jars in configuration X are assigned to the
classpath of task X, when X is not named 'compile'.   This would illustrate
for me how the wiring works, so that I know how to set up the right
conditions for indirect behavior for non-default inputs.


>
> Also, I notice that Gradle does not accept a version string of
> 'latest.integration' which in Ivy would signify the latest revision
> published with a status of 'integration'.  Is Gradle aware of Ivy statuses
> at all, or does it have some analogous function?
>
>
>>
>> What kind of repository/resolver are you using?
>>
>
> HTTP (Artifactory).
>
>
> How do you declare the repository in your Gradle build?
>

It looks like this (which could be totally wrong)

  ivy {
    name= 'libs-trunk'
    userName = 'ivyuser'
    password = 'ivypass'
    artifactPattern '
http://my.server/aritfactory/libs-trunk/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
'
  }

Reply via email to