On May 29, 2009, at 12:50 AM, Daniel wrote:

Does anyone know how I can code something along these lines:

def isolatedConfig = configurations.detachedConfiguration()

dependencies {
 isolatedConfig.addDependency group: "foo", name:"bar", version:"123"
}

isolatedConfig.resolve()

Would be very nice if I could keep the syntactic sugar, but I can't figure out how to stick the detached config into gradle so that the DefaultDependencyHandler finds it (which I figure is what I really want?)

Exactly. But this is not possible yet. But it is definitely planned (0.7) and should be not hard to achieve (as we have all the building block there). There should also be the option to specify custom repositories for stand alone (i.e. isolated) configurations.

- Hans

--
Hans Dockter
Gradle Project Manager
http://www.gradle.org


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

   http://xircles.codehaus.org/manage_email


Reply via email to