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 {
|
2021-05-14 15:59:59 -04:00
|
|
|
implementation project( ':hibernate-core' )
|
|
|
|
implementation libraries.c3p0
|
|
|
|
testImplementation project( ':hibernate-testing' )
|
|
|
|
testImplementation libraries.mockito
|
|
|
|
testImplementation libraries.mockito_inline
|
2015-07-29 09:56:59 -04:00
|
|
|
|
2021-09-22 18:52:06 -04:00
|
|
|
testImplementation libraries.jakarta_validator
|
|
|
|
testRuntimeOnly libraries.jakarta_el
|
2016-06-17 20:15:08 -04:00
|
|
|
|
2018-01-10 16:06:58 -05:00
|
|
|
if ( db.equalsIgnoreCase( 'oracle' ) ) {
|
2021-09-22 18:52:06 -04:00
|
|
|
testRuntimeOnly libraries.oracle
|
2017-02-13 09:48:43 -05:00
|
|
|
}
|
2013-01-23 18:22:03 -05:00
|
|
|
}
|
|
|
|
|