Add mariadb config to be used with gradle processTestResources -Pdb=

This commit is contained in:
Andrea Boriero 2016-03-29 18:04:48 +02:00
parent 6036f00781
commit add68bbe93
3 changed files with 10 additions and 0 deletions

View File

@ -142,6 +142,7 @@ subprojects { subProject ->
testRuntime( libraries.hsqldb )
testRuntime( libraries.postgresql )
testRuntime( libraries.mysql )
testRuntime( libraries.mariadb )
testRuntime( libraries.woodstox )
// 6.6 gave me some NPE problems from within checkstyle...

View File

@ -36,6 +36,13 @@ ext {
'jdbc.user' : 'hibernateormtest',
'jdbc.pass' : 'hibernateormtest',
'jdbc.url' : 'jdbc:mysql://localhost/hibernate_orm_test'
],
mariadb : [
'db.dialect' : 'org.hibernate.dialect.MySQL57InnoDBDialect',
'jdbc.driver': 'org.mariadb.jdbc.Driver',
'jdbc.user' : 'hibernate_orm_test',
'jdbc.pass' : 'hibernate_orm_test',
'jdbc.url' : 'jdbc:mariadb://localhost/hibernate_orm_test'
]
]
}

View File

@ -87,10 +87,12 @@ ext {
derby: "org.apache.derby:derby:10.11.1.1",
postgresql: 'org.postgresql:postgresql:9.4-1202-jdbc41',
mysql: 'mysql:mysql-connector-java:5.1.38',
mariadb: 'org.mariadb.jdbc:mariadb-java-client:1.1.7',
jboss_jta: "org.jboss.jbossts:jbossjta:4.16.4.Final",
xapool: "com.experlog:xapool:1.5.0",
mockito: 'org.mockito:mockito-core:1.9.0',
validator: 'org.hibernate:hibernate-validator:5.2.0.CR1',
// EL required by Hibernate Validator at test runtime
expression_language_api: "javax.el:javax.el-api:${elVersion}",