Resource filtering support


(Andrey Zhuchkov) #1

Is there a way to reach maven-like resource filtering? it seems processResources from java plugin doesn’t support this. I cannot find something suitable.

Thanks.


(René Groeschke) #2

Gradle provides a rich API for filtering resources. the processResources task of the java plugin is a task of type ‘Copy’. Have a look at the DSL reference at http://gradle.org/docs/current/dsl/org.gradle.api.tasks.Copy.html for details.

regards, René