aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle1
-rw-r--r--gradle.properties1
2 files changed, 2 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 73abab13..021b65f7 100644
--- a/build.gradle
+++ b/build.gradle
@@ -62,6 +62,7 @@ ext {
test {
systemProperty 'io.springfox.staticdocs.outputDir', swaggerOutputDir
outputs.dir swaggerOutputDir
+ systemProperty 'spring.profiles.active', "${springProfile}"
}
convertSwagger2markup {
diff --git a/gradle.properties b/gradle.properties
index 5d4a92f1..723409b2 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,2 +1,3 @@
org.gradle.daemon=false
org.gradle.jvmargs=-Xmx1536M
+springProfile=default