diff --git a/gradle/databases.gradle b/gradle/databases.gradle index 270709fcf1..04cb4c8336 100644 --- a/gradle/databases.gradle +++ b/gradle/databases.gradle @@ -7,7 +7,7 @@ // build a map of the database settings to use. ext { - db = 'h2' + db = project.hasProperty('db') ? project.getProperty('db') : 'h2' dbBundle = [ h2 : [ 'db.dialect' : 'org.hibernate.dialect.H2Dialect',