DEADSOFTWARE

Fix android/build.gradle
[cavedroid.git] / android / build.gradle
index ef956e098bd8dd2c6dcdb6b317163b8960240a60..b8cfebe5ba54a0ea8532283c7840a3909f91543c 100644 (file)
@@ -15,6 +15,10 @@ android {
             res.srcDirs = ['debug/res']
         }
     }
+    compileOptions {
+        sourceCompatibility 1.8
+        targetCompatibility 1.8
+    }
     packagingOptions {
         exclude 'META-INF/robovm/ios/robovm.xml'
     }
@@ -25,6 +29,11 @@ android {
         versionCode 10
         versionName "alpha0.4"
     }
+    applicationVariants.all { variant ->
+        variant.outputs.all {
+            outputFileName = "android-${versionName}.apk"
+        }
+    }
     buildTypes {
         release {
             minifyEnabled false