Fix db property resolving issue

This commit is contained in:
Vlad Mihalcea 2018-01-17 11:12:07 +02:00
parent 762092cee1
commit 856f99244d
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
// build a map of the database settings to use. // build a map of the database settings to use.
ext { ext {
db = 'h2' db = project.hasProperty('db') ? project.getProperty('db') : 'h2'
dbBundle = [ dbBundle = [
h2 : [ h2 : [
'db.dialect' : 'org.hibernate.dialect.H2Dialect', 'db.dialect' : 'org.hibernate.dialect.H2Dialect',