Merge pull request #61579 from madmiraal/android-kotlin-java-version

Ensure Android Java and Kotlin compile to the same version
This commit is contained in:
Rémi Verschelde 2022-06-01 18:31:09 +02:00 committed by GitHub
commit cd7871867f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 69 additions and 12 deletions

View file

@ -1,5 +1,7 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
plugins {
id 'com.android.library'
id 'org.jetbrains.kotlin.android'
}
ext {
PUBLISH_VERSION = getGodotPublishVersion()
@ -34,6 +36,10 @@ android {
targetCompatibility versions.javaVersion
}
kotlinOptions {
jvmTarget = versions.javaVersion
}
buildTypes {
dev {
initWith debug