123456789101112131415161718192021222324252627282930313233 |
- dependencies {
- developmentOnly "org.springframework.boot:spring-boot-devtools:${springBootVersion}"
- }
- def profiles = "dev"
- if (project.hasProperty("no-liquibase")) {
- profiles += ",no-liquibase"
- }
- if (project.hasProperty("tls")) {
- profiles += ",tls"
- }
- springBoot {
- buildInfo {
- properties {
- time = null
- }
- }
- }
- bootRun {
- args = []
- }
- processResources {
- filesMatching("**/application.yml") {
- filter {
- it.replace("#spring.profiles.active#", profiles)
- }
- }
- }
|