28 lines
1.1 KiB
Groovy
28 lines
1.1 KiB
Groovy
/*
|
|
* 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 Proxool Connection pooling into Hibernate O/RM'
|
|
|
|
apply from: rootProject.file( 'gradle/relocated-published-java-module.gradle' )
|
|
|
|
|
|
dependencies {
|
|
implementation project( ':hibernate-core' )
|
|
implementation libs.proxool
|
|
|
|
testImplementation project( ':hibernate-testing' )
|
|
}
|
|
|
|
test {
|
|
// 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'] )
|
|
} |