On Fri, May 29, 2009 at 11:39 PM, Hans Dockter <[email protected]> wrote:
>
> 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.
>
Perfect. I guess, I just have to wait now... Or get more comfortable with
Groovy and do it myself.
Daniel