${9999083+10000180}
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

37 lines
661 B

dependencies {
testImplementation "com.h2database:h2"
}
def profiles = "prod"
if (project.hasProperty("no-liquibase")) {
profiles += ",no-liquibase"
}
if (project.hasProperty("swagger")) {
profiles += ",swagger"
}
springBoot {
buildInfo()
}
bootRun {
args = []
}
processResources {
inputs.property('version', version)
inputs.property('springProfiles', profiles)
filesMatching("**/application.yml") {
filter {
it.replace("#project.version#", version)
}
}
filesMatching("**/bootstrap.yml") {
filter {
it.replace("#spring.profiles.active#", profiles)
}
}
}