Set up toolchains
This commit is contained in:
parent
8950cb4b1d
commit
8430f98c2e
1 changed files with 10 additions and 0 deletions
|
|
@ -140,6 +140,16 @@ dependencies {
|
||||||
ksp("com.github.bumptech.glide:ksp:4.14.2") // this have to be align with landscapist-glide
|
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
|
val gitBuildNumber: Int
|
||||||
get() {
|
get() {
|
||||||
val stdout = org.apache.commons.io.output.ByteArrayOutputStream()
|
val stdout = org.apache.commons.io.output.ByteArrayOutputStream()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue