hibernate-orm/hibernate-c3p0/hibernate-c3p0.gradle

34 lines
979 B
Groovy
Raw Normal View History

/*
* 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>.
*/
apply from: rootProject.file( 'gradle/published-java-module.gradle' )
description = 'Integration for c3p0 Connection pooling into Hibernate ORM'
dependencies {
compile project( ':hibernate-core' )
2012-08-08 05:09:11 -04:00
compile( libraries.c3p0 )
testCompile project( ':hibernate-testing' )
testCompile( libraries.mockito )
testCompile( libraries.mockito_inline )
testCompile( libraries.validator ) {
// for test runtime
transitive = true
}
// EL libraries are provided scope in Validator
testRuntime( libraries.expression_language )
if ( db.equalsIgnoreCase( 'oracle' ) ) {
testRuntime( libraries.oracle ) {
exclude group: 'com.oracle.jdbc', module: 'xmlparserv2'
}
}
2013-01-23 18:22:03 -05:00
}