1
0

adding Postgres configurations for dev-environment with sample-data

This commit is contained in:
Michael Hoennig
2019-05-04 13:59:12 +02:00
parent 24e76e03d1
commit 6efa167427
11 changed files with 168 additions and 25 deletions

View File

@ -8,7 +8,14 @@ dependencies {
compile "com.h2database:h2"
}
def profiles = 'dev'
def profiles = "";
if (project.hasProperty('pgsql')) {
profiles += 'pgsql'
} else if (project.hasProperty('h2file')) {
profiles += 'h2file'
} else {
profiles += 'h2mem'
}
if (project.hasProperty('no-liquibase')) {
profiles += ',no-liquibase'
}
@ -16,6 +23,8 @@ if (project.hasProperty('tls')) {
profiles += ',tls'
}
println 'activating profiles: ' + profiles
springBoot {
buildInfo {
properties {