Fix build with java 20

This commit is contained in:
AsamK 2023-04-22 12:41:12 +02:00
parent da4cc7dc6b
commit c703644dbe
2 changed files with 7 additions and 1 deletions

View file

@ -2,6 +2,12 @@ plugins {
`kotlin-dsl`
}
kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of("17"))
}
}
repositories {
mavenCentral()
}

View file

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists