Works! Thank You!

Adam Murdoch-2 wrote:
> 
> 
> You should be able to add this to the end of the above, and it will work 
> as it used to:
> 
> sourceSets.main.resources.srcDirs = resourceDirNames
> 
> The sourceSets.main.resources.srcDir() method appends a directory to the 
> list, so it will continue to use the default directory. You need to set 
> the srcDirs property to replace them, something like:
> 
> sourceSets.main.resources.srcDirs = ["src/main/resources/default", 
> "src/main/resource/${configName}/default"]
> 
> 
> -- 
> Adam Murdoch
> Gradle Developer
> http://www.gradle.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/new-sourceSets%7B%7D-behaviour-tp25803056p25820803.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