mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-26 05:14:57 +00:00
This is ~ 2 orders of magnitude faster on my machine, so it can be executed as part of the compileJava task. Also, it actually logs the failures, instead of making me go hunt for them in some generated HTML-based report.
30 lines
965 B
Groovy
30 lines
965 B
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 tests for running Hibernate ORM in the Java module path'
|
|
|
|
apply from: rootProject.file( 'gradle/java-module.gradle' )
|
|
|
|
// 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
|
|
java.modularity.inferModulePath = true
|
|
|
|
|
|
dependencies {
|
|
api project( ':hibernate-core' )
|
|
api project( ':hibernate-envers' )
|
|
//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 )
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|