mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 00:24:57 +00:00
Fix build issues with JDK17+
This commit is contained in:
parent
47751867d3
commit
79adaefb7c
@ -280,6 +280,7 @@ if ( gradle.ext.javaVersions.test.release.asInt() >= 17 && gradle.ext.javaToolch
|
|||||||
// The source set gets a custom configuration which extends the normal test implementation config
|
// The source set gets a custom configuration which extends the normal test implementation config
|
||||||
configurations {
|
configurations {
|
||||||
testJava17Implementation.extendsFrom(testImplementation, testRuntimeOnly)
|
testJava17Implementation.extendsFrom(testImplementation, testRuntimeOnly)
|
||||||
|
testJava17CompileOnly.extendsFrom(testCompileOnly)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add the output from src/main/java as dependency
|
// Add the output from src/main/java as dependency
|
||||||
|
Loading…
x
Reference in New Issue
Block a user