Fix:5175 Upgraded Minimum SDK Version, Compile and Target SDK Version (#5177)

* Kotlin Version Upgraded to 1.6.10

* Kotlin Version Upgraded to 1.6.20

* Kotlin Version Upgraded to 1.7.20

* Fix:5175 Upgraded Minimum SDK Version, Compile and Target SDK Version
This commit is contained in:
Kartikay Kaushik 2023-03-16 02:02:35 -07:00 committed by GitHub
parent 66e15a17ef
commit 9b0b936c62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 110 additions and 63 deletions

View file

@ -85,7 +85,7 @@ dependencies {
// Unit testing
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.robolectric:robolectric:4.6-alpha-1'
testImplementation 'org.robolectric:robolectric:4.6.1'
testImplementation 'androidx.test:core:1.4.0'
testImplementation "com.squareup.okhttp3:mockwebserver:$OKHTTP_VERSION"
testImplementation "com.jraska.livedata:testing-ktx:1.1.2"
@ -111,8 +111,6 @@ dependencies {
// Debugging
debugImplementation "com.squareup.leakcanary:leakcanary-android:$LEAK_CANARY_VERSION"
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$LEAK_CANARY_VERSION"
testImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$LEAK_CANARY_VERSION"
// Support libraries
implementation "com.google.android.material:material:1.1.0-alpha04"
@ -144,9 +142,10 @@ dependencies {
implementation "androidx.multidex:multidex:$MULTIDEX_VERSION"
def work_version = "2.6.0"
def work_version = "2.8.0"
// Kotlin + coroutines
implementation "androidx.work:work-runtime-ktx:$work_version"
implementation("androidx.work:work-runtime:$work_version")
testImplementation "androidx.work:work-testing:$work_version"
//Glide
@ -169,7 +168,7 @@ project.gradle.taskGraph.whenReady {
}
android {
compileSdkVersion 30
compileSdkVersion 31
defaultConfig {
//applicationId 'fr.free.nrw.commons'
@ -178,8 +177,8 @@ android {
versionName '4.0.3'
setProperty("archivesBaseName", "app-commons-v$versionName-" + getBranchName())
minSdkVersion 19
targetSdkVersion 30
minSdkVersion 21
targetSdkVersion 31
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments clearPackageData: 'true'