set Java bytecode version for Kotlin

This commit is contained in:
Daniel Micay 2021-11-24 23:13:47 -05:00
parent e4b107e1e4
commit 94f4cb6362

View File

@ -56,6 +56,10 @@ android {
sourceCompatibility(JavaVersion.VERSION_11) sourceCompatibility(JavaVersion.VERSION_11)
targetCompatibility(JavaVersion.VERSION_11) targetCompatibility(JavaVersion.VERSION_11)
} }
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
}
} }
dependencies { dependencies {