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
|
|
|
|
2020-04-06 13:21:11 -04:00
|
|
|
description = 'Integration for Proxool Connection pooling into Hibernate O/RM'
|
|
|
|
|
2024-10-17 10:22:37 -04:00
|
|
|
apply from: rootProject.file( 'gradle/relocated-published-java-module.gradle' )
|
2018-01-10 16:06:58 -05:00
|
|
|
|
|
|
|
|
2010-10-09 14:31:54 -04:00
|
|
|
dependencies {
|
2021-05-14 15:59:59 -04:00
|
|
|
implementation project( ':hibernate-core' )
|
2022-04-26 15:40:08 -04:00
|
|
|
implementation libs.proxool
|
2021-05-14 15:59:59 -04:00
|
|
|
|
|
|
|
testImplementation project( ':hibernate-testing' )
|
2013-12-02 21:53:19 -05:00
|
|
|
}
|
2020-12-14 08:39:24 -05:00
|
|
|
|
|
|
|
test {
|
2021-11-26 11:24:34 -05:00
|
|
|
// Proxool needs this to define classes for some reason. Stack trace:
|
|
|
|
// at org.logicalcobwebs.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:372)
|
|
|
|
// at org.logicalcobwebs.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:193)
|
|
|
|
// at org.logicalcobwebs.cglib.core.KeyFactory$Generator.create(KeyFactory.java:177)
|
|
|
|
// at org.logicalcobwebs.cglib.core.KeyFactory.create(KeyFactory.java:149)
|
|
|
|
// at org.logicalcobwebs.cglib.proxy.Enhancer.<clinit>(Enhancer.java:96)
|
|
|
|
jvmArgs( ['--add-opens', 'java.base/java.lang=ALL-UNNAMED'] )
|
2020-12-14 08:39:24 -05:00
|
|
|
}
|