Target JVM 1.8 from Kotlin as well

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-02-23 19:19:25 +05:30
parent 8078347880
commit cbf2ea7b48

View File

@ -12,6 +12,11 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = '1.8'
}
}
compileSdkVersion 29
dataBinding.enabled true
defaultConfig {