summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorfhuya <fhuya@google.com>2020-03-23 09:41:16 -0700
committerfhuya <fhuya@google.com>2020-04-07 09:07:44 -0700
commit9c11076a209a2427a54d04abe76373587dc9edcf (patch)
treeb3d22a62a07203e3e0685462a3d7971254d92261 /platform
parent20edf69f96160fcf7c0ea2449f4daf50f572ce99 (diff)
Update Android custom template build configuration.
Diffstat (limited to 'platform')
-rw-r--r--platform/android/java/app/build.gradle5
-rw-r--r--platform/android/java/app/settings.gradle2
2 files changed, 7 insertions, 0 deletions
diff --git a/platform/android/java/app/build.gradle b/platform/android/java/app/build.gradle
index 1a3bb77670..99080eeb3c 100644
--- a/platform/android/java/app/build.gradle
+++ b/platform/android/java/app/build.gradle
@@ -56,6 +56,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 0000000000..33b863c7bf
--- /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.