Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- buildscript {
- ext {
- springBootVersion = '1.5.15.RELEASE'
- kotlinVersion = '1.2.70'
- queryDslVersion = '4.1.4'
- env = 'local'
- }
- // ...
- }
- spring.profiles.active=local
- task setEnv {
- doFirst {
- ant.propertyfile(file: "$projectDir/src/main/resources/application.properties") {
- entry( key: "spring.profiles.active", value: "$env")
- }
- println "Building with env = $env"
- }
- }
- #Fri, 14 Dec 2018 11:22:04 -0200
- spring.profiles.active=local
Add Comment
Please, Sign In to add comment