From fd045b8b911dd44b7c43afa0c2185af07764543f Mon Sep 17 00:00:00 2001 From: fhuya Date: Mon, 23 Mar 2020 09:41:16 -0700 Subject: [PATCH] Update Android custom template build configuration. (cherry picked from commit 9c11076a209a2427a54d04abe76373587dc9edcf) --- platform/android/java/app/build.gradle | 5 +++++ platform/android/java/app/settings.gradle | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 platform/android/java/app/settings.gradle diff --git a/platform/android/java/app/build.gradle b/platform/android/java/app/build.gradle index 8d761292f09..d57cb95de1f 100644 --- a/platform/android/java/app/build.gradle +++ b/platform/android/java/app/build.gradle @@ -68,6 +68,11 @@ android { compileSdkVersion versions.compileSdk buildToolsVersion versions.buildTools + compileOptions { + sourceCompatibility 1.8 + targetCompatibility 1.8 + } + defaultConfig { // Feel free to modify the application id to your own. applicationId getExportPackageName() diff --git a/platform/android/java/app/settings.gradle b/platform/android/java/app/settings.gradle new file mode 100644 index 00000000000..33b863c7bf3 --- /dev/null +++ b/platform/android/java/app/settings.gradle @@ -0,0 +1,2 @@ +// Empty settings.gradle file to denote this directory as being the root project +// of the Godot custom build.