]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/build.gradle
prepare v0.19.1 (42) for release
[mobile-ledger.git] / app / build.gradle
index 4bae3dbf474efb2e4ec419f4509eb29db497904f..b488ba2a92036b83f95ae13ab959e5667853fff6 100644 (file)
 apply plugin: 'com.android.application'
 
 android {
-    compileSdkVersion 29
+    compileSdkVersion 30
     defaultConfig {
         applicationId "net.ktnx.mobileledger"
         minSdkVersion 22
-        targetSdkVersion 29
+        targetSdkVersion 30
         vectorDrawables.useSupportLibrary true
-        versionCode 39
-        versionName '0.17.1'
+        versionCode 42
+        versionName '0.19.1'
         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
         javaCompileOptions {
             annotationProcessorOptions {
@@ -46,9 +46,14 @@ android {
             versionNameSuffix '-debug'
             applicationIdSuffix '.debug'
         }
+        pre {
+            applicationIdSuffix '.pre'
+            versionNameSuffix '-pre'
+            minifyEnabled false
+            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+        }
     }
     sourceSets { main { assets.srcDirs = ['src/main/assets', 'src/main/assets/'] } }
-    buildToolsVersion '29.0.3'
     compileOptions {
         sourceCompatibility JavaVersion.VERSION_1_8
         targetCompatibility JavaVersion.VERSION_1_8
@@ -56,12 +61,13 @@ android {
     productFlavors {
     }
     buildFeatures.viewBinding = true
+    buildToolsVersion '30.0.3'
 }
 
 dependencies {
     implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.1'
     implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1'
-    def room_version = '2.2.6'
+    def room_version = '2.3.0'
     implementation "androidx.room:room-runtime:$room_version"
     annotationProcessor "androidx.room:room-compiler:$room_version"
     def nav_version = '2.3.5'
@@ -72,10 +78,10 @@ dependencies {
     implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
     implementation 'androidx.recyclerview:recyclerview:1.2.0'
     testImplementation 'junit:junit:4.13.2'
-    androidTestImplementation 'androidx.test:runner:1.4.0-alpha05'
-    androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0-alpha05'
-    implementation 'org.jetbrains:annotations:15.0'
-    implementation 'com.fasterxml.jackson.module:jackson-modules-java8:2.12.2'
+    androidTestImplementation 'androidx.test:runner:1.4.0-alpha06'
+    androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0-alpha06'
+    implementation 'org.jetbrains:annotations:20.1.0'
+    implementation 'com.fasterxml.jackson.module:jackson-modules-java8:2.12.3'
     implementation "androidx.navigation:navigation-fragment:$nav_version"
     implementation "androidx.navigation:navigation-ui:$nav_version"
     implementation 'androidx.appcompat:appcompat:1.3.0-rc01'