DEADSOFTWARE

Upgrade project
[cavedroid.git] / android / build.gradle
index 70bf45521744cf0d2ea637707ccbe951587953b1..cb9d71a9ebe98b510585ad2b6d54271d92d7ccbc 100644 (file)
@@ -1,6 +1,10 @@
+plugins {
+    id "kotlin-android"
+}
+
 android {
-    buildToolsVersion "28.0.3"
-    compileSdkVersion 29
+    namespace "ru.deadsoftware.cavedroid"
+    compileSdkVersion 34
     sourceSets {
         main {
             manifest.srcFile 'AndroidManifest.xml'
@@ -15,16 +19,25 @@ android {
             res.srcDirs = ['debug/res']
         }
     }
+    compileOptions {
+        sourceCompatibility 11
+        targetCompatibility 11
+    }
     packagingOptions {
         exclude 'META-INF/robovm/ios/robovm.xml'
     }
     defaultConfig {
         applicationId "ru.deadsoftware.cavedroid"
-        minSdkVersion 14
-        targetSdkVersion 29
+        minSdkVersion 24
+        targetSdkVersion 34
         versionCode 10
         versionName "alpha0.4"
     }
+    applicationVariants.all { variant ->
+        variant.outputs.all {
+            outputFileName = "android-${versionName}.apk"
+        }
+    }
     buildTypes {
         release {
             minifyEnabled false
@@ -33,6 +46,7 @@ android {
             applicationIdSuffix ".debug"
         }
     }
+
 }