2023-11-09 05:33:57 -05: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>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
description = 'Integration for JDK JFR into Hibernate O/RM'
|
|
|
|
|
2024-10-17 10:22:37 -04:00
|
|
|
apply from: rootProject.file( 'gradle/relocated-published-java-module.gradle' )
|
2023-11-09 05:33:57 -05:00
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation project( ':hibernate-core' )
|
|
|
|
|
|
|
|
testImplementation project( ':hibernate-testing' )
|
|
|
|
testImplementation testLibs.jfrUnit
|
|
|
|
}
|
|
|
|
|
2023-11-13 06:01:58 -05:00
|
|
|
|
2023-11-13 07:15:40 -05:00
|
|
|
// JfrUnit requires JDK 17
|
|
|
|
compileTestJava.onlyIf{
|
2023-11-13 07:23:20 -05:00
|
|
|
jdkVersions.test.release.asInt() >= 17
|
2023-11-09 05:33:57 -05:00
|
|
|
}
|
2023-11-13 07:15:40 -05:00
|
|
|
|
|
|
|
test.onlyIf {
|
2023-11-13 07:23:20 -05:00
|
|
|
jdkVersions.test.release.asInt() >= 17
|
2023-11-13 07:15:40 -05:00
|
|
|
}
|