@@ -6,17 +6,17 @@ plugins {
66}
77
88android {
9- compileSdkVersion 30
10- buildToolsVersion " 30 .0.3 "
9+ compileSdkVersion 31
10+ buildToolsVersion " 31 .0.0 "
1111
1212 defaultConfig {
1313 // Required when setting minSdkVersion to 20 or lower
1414 multiDexEnabled true
1515
1616 minSdkVersion 16
17- targetSdkVersion 30
18- versionCode 130
19- versionName " 1.3.0 "
17+ targetSdkVersion 31
18+ versionCode VERSION_CODE . toInteger()
19+ versionName VERSION_NAME
2020
2121 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
2222 consumerProguardFiles " consumer-rules.pro"
@@ -41,6 +41,12 @@ android {
4141 kotlinOptions {
4242 jvmTarget = ' 1.8'
4343 }
44+ testOptions {
45+ unitTests {
46+ includeAndroidResources = true
47+ }
48+ }
49+
4450}
4551
4652dependencies {
@@ -50,11 +56,9 @@ dependencies {
5056 api " org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.2"
5157 implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2'
5258 implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2'
53- implementation ' androidx.lifecycle:lifecycle-process:2.3.1 '
54- implementation ' androidx.lifecycle:lifecycle-common-java8:2.3.1 '
59+ implementation ' androidx.lifecycle:lifecycle-process:2.4.0 '
60+ implementation ' androidx.lifecycle:lifecycle-common-java8:2.4.0 '
5561
56- // STD LIBS
57- implementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
5862 coreLibraryDesugaring ' com.android.tools:desugar_jdk_libs:1.1.5'
5963
6064 // TESTING
@@ -73,9 +77,10 @@ dependencies {
7377 testRuntimeOnly ' org.junit.vintage:junit-vintage-engine:5.7.2'
7478
7579 // Add Roboelectric dependencies.
76- testImplementation ' org.robolectric:robolectric:4.5 '
80+ testImplementation ' org.robolectric:robolectric:4.7.3 '
7781 testImplementation ' androidx.test:core:1.4.0'
7882}
7983
80- apply from : rootProject. file(' gradle/jitpack-android.gradle' )
84+ apply from : rootProject. file(' gradle/artifacts-android.gradle' )
85+ apply from : rootProject. file(' gradle/mvn-publish.gradle' )
8186apply from : rootProject. file(' gradle/codecov.gradle' )
0 commit comments