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
|
||||
configurations {
|
||||
testJava17Implementation.extendsFrom(testImplementation, testRuntimeOnly)
|
||||
testJava17CompileOnly.extendsFrom(testCompileOnly)
|
||||
}
|
||||
|
||||
// Add the output from src/main/java as dependency
|
||||
|
|
Loading…
Reference in New Issue