Create separate sub-module for WAR build

This commit is contained in:
Aleksandar Vidakovic
2022-01-02 09:20:47 +08:00
committed by Petri Tuomola
parent c91113b15a
commit b2dbbe66de
7 changed files with 62 additions and 41 deletions
+3 -3
View File
@@ -33,7 +33,7 @@ cargo {
// looks like Cargo doesn't detect the WAR file automatically in the multi-module setup
deployable {
file = file("$rootDir/fineract-provider/build/libs/fineract-provider.war")
file = file("$rootDir/fineract-war/build/libs/fineract-provider.war")
context = 'fineract-provider'
}
@@ -57,8 +57,8 @@ cargo {
}
}
cargoRunLocal.dependsOn ':fineract-provider:war'
cargoStartLocal.dependsOn ':fineract-provider:war'
cargoRunLocal.dependsOn ':fineract-war:war'
cargoStartLocal.dependsOn ':fineract-war:war'
cargoStartLocal.mustRunAfter 'testClasses'
test {