If you want to exclude one file from resource, you may use this snippet: sourceSets { main { resources { exclude '**/*.bak' } } }

apache-wicket.1842946.n4.nabble.com

If you want to add new resource folder to Gradle build, use this snippet: sourceSets { main { resources { srcDir 'src/main/java' } } }

gradle.org

It's easy. Just add to somewhere after your task definition: processTestResources.dependsOn recreateDatabase processTestResource - default task (phase of build lifecycle...

dbmaintain.org

dbmaintain is plugin (best for my opinion) that allowes to safely migrate dbscheme. It has excellent support for Maven...

Leonid's cards
gradle.org

To build WAR by Gradle system change java plugin to war plugin: apply plugin: 'war' After that execute gradle:

Leonid's cards

To view dependencies hierarchy: gradle dependencies