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/editor/build.gradle | |
parent | 11b683dab72e49f4fe270a16757325bca6e10283 (diff) |
Ensure Android Java and Kotlin compile to the same version
Diffstat (limited to 'platform/android/java/editor/build.gradle')
-rw-r--r-- | platform/android/java/editor/build.gradle | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/platform/android/java/editor/build.gradle b/platform/android/java/editor/build.gradle index 3312f61ad3..857c072e0c 100644 --- a/platform/android/java/editor/build.gradle +++ b/platform/android/java/editor/build.gradle @@ -1,5 +1,8 @@ // Gradle build config for Godot Engine's Android port. -apply plugin: 'com.android.application' +plugins { + id 'com.android.application' + id 'org.jetbrains.kotlin.android' +} dependencies { implementation libraries.kotlinStdLib @@ -29,6 +32,10 @@ android { targetCompatibility versions.javaVersion } + kotlinOptions { + jvmTarget = versions.javaVersion + } + buildTypes { dev { initWith debug |