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'
|
|
|
|
|
|
|
|
apply from: rootProject.file( 'gradle/published-java-module.gradle' )
|
|
|
|
|
|
|
|
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
|
|
|
}
|