David Gileadi wrote:
> 
> However, I always get an "UnsupportedOperationException: Configuration 
> ':myproject:compile' does not allow modification."  I take this to mean 
> that by the time the apply method is called it's too late to modify the 
> sourceSets.
> 

I think you are on the right track, but without seeing the full (modified)
source code and stack trace, I can't tell where the problem is. Sounds like
someone is trying to modify the 'compile' configuration in a way that's not
allowed. Modifying source sets from a plugin is certainly possible.

--
Peter Niederwieser
Principal Engineer, Gradleware 
http://gradleware.com
Creator, Spock Framework 
http://spockframework.org
Blog: http://pniederw.wordpress.com
Twitter: @pniederw

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Excluding-provided-dependencies-with-m2metadata-tp4452535p4454798.html
Sent from the gradle-user mailing list archive at Nabble.com.

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

    http://xircles.codehaus.org/manage_email


Reply via email to