If you want to exclude one file from resource, you may use this snippet: sourceSets { main { resources { exclude '**/*.bak' } } }
If you want to add new resource folder to Gradle build, use this snippet: sourceSets { main { resources { srcDir 'src/main/java' } } }
It's easy. Just add to somewhere after your task definition: processTestResources.dependsOn recreateDatabase processTestResource - default task (phase of build lifecycle...
dbmaintain is plugin (best for my opinion) that allowes to safely migrate dbscheme. It has excellent support for Maven...
To build WAR by Gradle system change java plugin to war plugin: apply plugin: 'war' After that execute gradle:
To view dependencies hierarchy: gradle dependencies