diff options
author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2022-05-31 19:10:15 +0100 |
---|---|---|
committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2022-06-01 16:23:44 +0100 |
commit | b19bbadcf0b196914e355a96bc3b96dc75bfaa5b (patch) | |
tree | cb7d0e3f0d47bdd273a01a5812a3e50e59414685 /platform/android/java/lib | |
parent | 11b683dab72e49f4fe270a16757325bca6e10283 (diff) |
Ensure Android Java and Kotlin compile to the same version
Diffstat (limited to 'platform/android/java/lib')
-rw-r--r-- | platform/android/java/lib/build.gradle | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/platform/android/java/lib/build.gradle b/platform/android/java/lib/build.gradle index c806de1ded..6b82326a27 100644 --- a/platform/android/java/lib/build.gradle +++ b/platform/android/java/lib/build.gradle @@ -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 |