2019-05-24 03:26:01 -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>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
description = 'Integration tests for running Hibernate ORM in the Java module path'
|
|
|
|
|
|
|
|
apply from: rootProject.file( 'gradle/java-module.gradle' )
|
|
|
|
|
2021-07-06 03:49:35 -04:00
|
|
|
// See https://docs.gradle.org/6.7.1/userguide/java_testing.html#blackbox_integration_testing
|
|
|
|
// See https://docs.gradle.org/6.7.1/samples/sample_java_modules_multi_project_with_integration_tests.html
|
2021-05-14 15:59:59 -04:00
|
|
|
java.modularity.inferModulePath = true
|
2019-05-24 03:26:01 -04:00
|
|
|
|
|
|
|
|
|
|
|
dependencies {
|
2021-05-14 15:59:59 -04:00
|
|
|
api project( ':hibernate-core' )
|
|
|
|
api project( ':hibernate-envers' )
|
2023-01-19 06:55:26 -05:00
|
|
|
//Provide the jakarta.cdi module, as it's required by module jakarta.transaction
|
|
|
|
//but not provided as transitive dependency of Narayana.
|
|
|
|
testRuntimeOnly( jakartaLibs.cdi )
|
|
|
|
testRuntimeOnly( jakartaLibs.interceptors )
|
2019-05-24 03:26:01 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
2023-08-07 10:14:42 -04:00
|
|
|
useJUnitPlatform()
|
2019-05-24 03:26:01 -04:00
|
|
|
}
|
|
|
|
|