|
|
|
@@ -92,3 +92,11 @@ configurations { |
|
|
|
kotlin { |
|
|
|
jvmToolchain(17) |
|
|
|
} |
|
|
|
|
|
|
|
bootRun { |
|
|
|
// Use db-local profile by default so datasource is loaded (application-db-local.yml). |
|
|
|
// Override with: ./gradlew bootRun --args='--spring.profiles.active=prod' |
|
|
|
if (!project.hasProperty('spring.profiles.active')) { |
|
|
|
args '--spring.profiles.active=db-local' |
|
|
|
} |
|
|
|
} |