Fix build issues with JDK17+

This commit is contained in:
Christian Beikov 2023-04-27 09:52:27 +02:00
parent 11b051ba95
commit 8ce01de60c
1 changed files with 1 additions and 0 deletions

View File

@ -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