Fix build issues with JDK17+
This commit is contained in:
parent
11b051ba95
commit
8ce01de60c
|
@ -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