Set up toolchains

This commit is contained in:
Marc Plano-Lesay 2023-08-11 07:57:58 +10:00
parent 8950cb4b1d
commit 8430f98c2e
Signed by untrusted user: kernald
GPG key ID: 66A41B08CC62A6CF

View file

@ -140,6 +140,16 @@ dependencies {
ksp("com.github.bumptech.glide:ksp:4.14.2") // this have to be align with landscapist-glide
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
kotlin {
jvmToolchain(17)
}
val gitBuildNumber: Int
get() {
val stdout = org.apache.commons.io.output.ByteArrayOutputStream()