Skip to content

Commit e921352

Browse files
author
Krzysztof Borowy
committed
version bumps
1 parent b3d1b68 commit e921352

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

android/build.gradle

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ buildscript {
4747
}
4848
dependencies {
4949
if (project == rootProject) {
50-
classpath 'com.android.tools.build:gradle:3.6.4'
50+
classpath 'com.android.tools.build:gradle:4.2.2'
5151
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$asyncStorageKtVersion"
5252
}
5353
}
@@ -80,7 +80,7 @@ android {
8080
compileSdkVersion safeExtGet('compileSdkVersion', 31)
8181
defaultConfig {
8282
minSdkVersion safeExtGet('minSdkVersion', 21)
83-
targetSdkVersion safeExtGet('targetSdkVersion', 29)
83+
targetSdkVersion safeExtGet('targetSdkVersion', 31)
8484
buildConfigField "Long", "AsyncStorage_db_size", "${dbSizeInMB}L"
8585
buildConfigField "boolean", "AsyncStorage_useDedicatedExecutor", "${useDedicatedExecutor}"
8686
buildConfigField "boolean", "AsyncStorage_useNextStorage", "${useNextStorage}"
@@ -91,11 +91,10 @@ android {
9191

9292
if (useNextStorage) {
9393
testOptions {
94-
unitTests.returnDefaultValues = true
95-
}
96-
compileOptions {
97-
sourceCompatibility JavaVersion.VERSION_1_8
98-
targetCompatibility JavaVersion.VERSION_1_8
94+
unitTests {
95+
returnDefaultValues = true
96+
includeAndroidResources = true
97+
}
9998
}
10099
}
101100
}
@@ -119,10 +118,10 @@ dependencies {
119118
// would add one automatically, probably a version that is not compatible with
120119
// used kotlin
121120
def kotlinReflect_version = project.ext.asyncStorageKtVersion
122-
def junit_version = "4.12"
123-
def robolectric_version = "4.5.1"
121+
def junit_version = "4.13.2"
122+
def robolectric_version = "4.7.3"
124123
def truth_version = "1.1.2"
125-
def androidxtest_version = "1.1.0"
124+
def androidxtest_version = "1.4.0"
126125

127126
implementation "androidx.room:room-runtime:$room_version"
128127
implementation "androidx.room:room-ktx:$room_version"

0 commit comments

Comments
 (0)