Use Gradle toolchains to run tests

This commit is contained in:
Alexey Andreev 2023-11-08 09:28:07 +01:00
parent 2256b293ab
commit 6baccbf2bd

View File

@ -24,6 +24,12 @@ javaVersion {
version = JavaVersion.VERSION_21 version = JavaVersion.VERSION_21
} }
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
dependencies { dependencies {
testImplementation(project(":core")) testImplementation(project(":core"))
testImplementation(project(":classlib")) testImplementation(project(":classlib"))