Fix db property resolving issue
This commit is contained in:
parent
762092cee1
commit
856f99244d
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue