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

32 lines
940 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>.
*/
description = 'Integration for c3p0 Connection pooling into Hibernate ORM'
apply from: rootProject.file( 'gradle/published-java-module.gradle' )
dependencies {
implementation project( ':hibernate-core' )
implementation libraries.c3p0
testImplementation project( ':hibernate-testing' )
testImplementation libraries.mockito
testImplementation libraries.mockito_inline
testImplementation( libraries.validator ) {
// for test runtime
transitive = true
}
// EL libraries are provided scope in Validator
testRuntimeOnly( libraries.expression_language )
if ( db.equalsIgnoreCase( 'oracle' ) ) {
testRuntimeOnly( libraries.oracle )
}
2013-01-23 18:22:03 -05:00
}