123456789101112131415161718192021222324252627282930 |
- dependencies {
- testImplementation "com.h2database:h2"
- }
- def profiles = "prod"
- if (project.hasProperty("no-liquibase")) {
- profiles += ",no-liquibase"
- }
- if (project.hasProperty("api-docs")) {
- profiles += ",api-docs"
- }
- springBoot {
- buildInfo()
- }
- bootRun {
- args = []
- }
- processResources {
- filesMatching("**/application.yml") {
- filter {
- it.replace("#spring.profiles.active#", profiles)
- }
- }
- }
|