2015-05-18 23:23:35 -05:00
|
|
|
/*
|
|
|
|
* Hibernate, Relational Persistence for Idiomatic Java
|
|
|
|
*
|
|
|
|
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
|
|
|
|
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
|
|
|
*/
|
2018-01-10 15:06:58 -06:00
|
|
|
|
|
|
|
apply from: rootProject.file( 'gradle/published-java-module.gradle' )
|
|
|
|
|
|
|
|
description = 'Integration for c3p0 Connection pooling into Hibernate ORM'
|
|
|
|
|
2010-10-09 13:27:47 -05:00
|
|
|
dependencies {
|
2012-03-09 13:34:02 -06:00
|
|
|
compile project( ':hibernate-core' )
|
2012-08-08 17:09:11 +08:00
|
|
|
compile( libraries.c3p0 )
|
2012-03-09 13:34:02 -06:00
|
|
|
|
2015-07-29 08:56:59 -05:00
|
|
|
testCompile project( ':hibernate-testing' )
|
2018-07-02 10:48:56 +03:00
|
|
|
testCompile( libraries.mockito )
|
|
|
|
testCompile( libraries.mockito_inline )
|
2015-07-29 08:56:59 -05:00
|
|
|
|
2012-03-21 16:25:32 -06:00
|
|
|
testCompile( libraries.validator ) {
|
|
|
|
// for test runtime
|
|
|
|
transitive = true
|
|
|
|
}
|
2015-07-29 08:56:59 -05:00
|
|
|
// EL libraries are provided scope in Validator
|
2017-12-14 10:20:02 +01:00
|
|
|
testRuntime( libraries.expression_language )
|
2016-06-17 19:15:08 -05:00
|
|
|
|
2018-01-10 15:06:58 -06:00
|
|
|
if ( db.equalsIgnoreCase( 'oracle' ) ) {
|
|
|
|
testRuntime( libraries.oracle ) {
|
|
|
|
exclude group: 'com.oracle.jdbc', module: 'xmlparserv2'
|
2017-02-13 16:48:43 +02:00
|
|
|
}
|
|
|
|
}
|
2013-01-23 18:22:03 -05:00
|
|
|
}
|
|
|
|
|