2015-05-19 00:23:35 -04: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 16:06:58 -05:00
|
|
|
|
|
|
|
description = 'Integration for c3p0 Connection pooling into Hibernate ORM'
|
|
|
|
|
2020-04-06 13:21:11 -04:00
|
|
|
apply from: rootProject.file( 'gradle/published-java-module.gradle' )
|
|
|
|
|
2010-10-09 14:27:47 -04:00
|
|
|
dependencies {
|
2012-03-09 14:34:02 -05:00
|
|
|
compile project( ':hibernate-core' )
|
2012-08-08 05:09:11 -04:00
|
|
|
compile( libraries.c3p0 )
|
2012-03-09 14:34:02 -05:00
|
|
|
|
2015-07-29 09:56:59 -04:00
|
|
|
testCompile project( ':hibernate-testing' )
|
2018-07-02 03:48:56 -04:00
|
|
|
testCompile( libraries.mockito )
|
|
|
|
testCompile( libraries.mockito_inline )
|
2015-07-29 09:56:59 -04:00
|
|
|
|
2012-03-21 18:25:32 -04:00
|
|
|
testCompile( libraries.validator ) {
|
|
|
|
// for test runtime
|
|
|
|
transitive = true
|
|
|
|
}
|
2015-07-29 09:56:59 -04:00
|
|
|
// EL libraries are provided scope in Validator
|
2017-12-14 04:20:02 -05:00
|
|
|
testRuntime( libraries.expression_language )
|
2016-06-17 20:15:08 -04:00
|
|
|
|
2018-01-10 16:06:58 -05:00
|
|
|
if ( db.equalsIgnoreCase( 'oracle' ) ) {
|
2020-10-26 07:54:07 -04:00
|
|
|
testRuntime( libraries.oracle )
|
2017-02-13 09:48:43 -05:00
|
|
|
}
|
2013-01-23 18:22:03 -05:00
|
|
|
}
|
|
|
|
|