DEADSOFTWARE

Reimplement mobs
[cavedroid.git] / android / build.gradle
index ef956e098bd8dd2c6dcdb6b317163b8960240a60..a5ed087df1b3458384d90a0ddf8b1bccd50ba73f 100644 (file)
@@ -15,16 +15,25 @@ android {
             res.srcDirs = ['debug/res']
         }
     }
+    compileOptions {
+        sourceCompatibility 1.8
+        targetCompatibility 1.8
+    }
     packagingOptions {
         exclude 'META-INF/robovm/ios/robovm.xml'
     }
     defaultConfig {
         applicationId "ru.deadsoftware.cavedroid"
-        minSdkVersion 14
+        minSdkVersion 24
         targetSdkVersion 29
         versionCode 10
         versionName "alpha0.4"
     }
+    applicationVariants.all { variant ->
+        variant.outputs.all {
+            outputFileName = "android-${versionName}.apk"
+        }
+    }
     buildTypes {
         release {
             minifyEnabled false