adding Postgres configurations for dev-environment with sample-data
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user