build: specify jdk 17 for all android compilation tasks
This commit is contained in:
parent
7b9e71714f
commit
78ef936369
@ -38,6 +38,20 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
kotlin {
|
||||
tasks.withType<KotlinCompile>().configureEach {
|
||||
kotlinOptions {
|
||||
jvmTarget = "17"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion.set(JavaLanguageVersion.of(17))
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("net.java.dev.jna:jna:5.14.0@aar")
|
||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7")
|
||||
|
Loading…
x
Reference in New Issue
Block a user