Selaa lähdekoodia

Merge pull request #37256 from m4gr3d/add_custom_build_gradle_settings

Update Android custom template build configuration
Rémi Verschelde 5 vuotta sitten
vanhempi
commit
35c8ec065c

+ 5 - 0
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()

+ 2 - 0
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.