|
|
|
@@ -98,9 +98,9 @@ test { |
|
|
|
} |
|
|
|
|
|
|
|
bootRun { |
|
|
|
// Use db-local profile by default so datasource is loaded (application-db-local.yml). |
|
|
|
// Override with: ./gradlew bootRun --args='--spring.profiles.active=prod' |
|
|
|
// debrand starts on fpsms_demo via application-db-demo.yml. |
|
|
|
// db-local stays root on fpsmsdb and is only for copying data, not for bootRun. |
|
|
|
if (!project.hasProperty('spring.profiles.active')) { |
|
|
|
args '--spring.profiles.active=db-local' |
|
|
|
args '--spring.profiles.active=db-demo' |
|
|
|
} |
|
|
|
} |