summaryrefslogtreecommitdiff
path: root/platform/android/java/app
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-04-10 13:57:56 +0200
committerGitHub <noreply@github.com>2020-04-10 13:57:56 +0200
commit35c8ec065c00666c68d68964c2753a99ffa20b38 (patch)
treed64ff259590578858f13850e25d6dc156543fff8 /platform/android/java/app
parentc52beb6adb3b7af6f9ca79b6dfad1783a1fae351 (diff)
parent9c11076a209a2427a54d04abe76373587dc9edcf (diff)
Merge pull request #37256 from m4gr3d/add_custom_build_gradle_settings
Update Android custom template build configuration
Diffstat (limited to 'platform/android/java/app')
-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.