HHH-10812 Ensuring correct order of build tasks

This commit is contained in:
Gunnar Morling 2016-06-28 15:02:40 +02:00
parent 1b3e067235
commit 6f3be18e80
1 changed files with 4 additions and 1 deletions

View File

@ -119,7 +119,10 @@ task extractModules(dependsOn: [extractWildFly, createModulesZip], type: Copy) {
into "$buildDir/wildfly-${wildflyVersion}/modules"
}
task filterArquillianXml(type: Copy) {
// Replace properties in arquillian.xml; Actually this should be done by means of configuring
// the processTestResourcesTask itself, but while that works for resources in src/main/resources,
// the same failed for src/test/resources; I reckon it's a bug in Gradle
task filterArquillianXml(dependsOn: processTestResources, type: Copy) {
into( buildDir.getName() + '/resources/test' )
expand( buildDir: buildDir.getName(), wildflyVersion: wildflyVersion )
from 'src/test/resources'