Is there a way to remove a configuration once it was added to the projects 
configurations?

I tried

def dummyConf = project.configurations.dummyConfigForResolve
project.configurations.all.remove(dummyConf)

but that does not work, the configuration is still there after the removal.
I looked in the sources and it seems that in AbstractDomainObjectCollection the call to all creates a new collection based on the real entries.

So It seems to me that this use-case is not possible, at least not with the 
gradle api.

But are there any (maybe just dirty) tricks/groovy hacks to remove that 
configuration?
Maybe with groovy metaClass methods?

Any hints appreciated!

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

   http://xircles.codehaus.org/manage_email


Reply via email to