Skip to content

Commit

Permalink
Merge pull request #2905 from dimagi/standardLibsUpdate
Browse files Browse the repository at this point in the history
Update test libs and work manager
  • Loading branch information
avazirna authored Dec 9, 2024
2 parents 38a4dc9 + 641857f commit 26eb7c3
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,32 +30,32 @@ configurations {
}

dependencies {
testImplementation 'junit:junit:4.12'
testImplementation 'junit:junit:4.13.2'
testImplementation('org.robolectric:robolectric:4.8.2') {
exclude(group: 'org.bouncycastle', module: 'bcprov-jdk15on')
}
testImplementation 'androidx.test:core:1.5.0'
testImplementation 'androidx.test:runner:1.5.2'
testImplementation 'androidx.test.ext:junit:1.1.3'
testImplementation 'androidx.work:work-testing:2.7.1'
testImplementation 'androidx.test.espresso:espresso-core:3.4.0'
testImplementation 'androidx.test.espresso:espresso-intents:3.5.1'
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.3.2'
testImplementation 'androidx.test:core:1.6.1'
testImplementation 'androidx.test:runner:1.6.2'
testImplementation 'androidx.test.ext:junit:1.2.1'
testImplementation 'androidx.work:work-testing:2.10.0'
testImplementation 'androidx.test.espresso:espresso-core:3.6.1'
testImplementation 'androidx.test.espresso:espresso-intents:3.6.1'
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.3'
testImplementation 'io.mockk:mockk:1.12.7'
testImplementation 'org.json:json:20140107'
testImplementation 'org.json:json:20231013'
testImplementation project(path: ':commcare-core', configuration: 'testsAsJar')

androidTestImplementation 'androidx.test:runner:1.4.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.ext:truth:1.4.0'
androidTestImplementation 'androidx.test:rules:1.5.0'
androidTestImplementation 'androidx.test.espresso:espresso-intents:3.4.0'
androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.4.0'
androidTestImplementation 'androidx.test:runner:1.6.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
androidTestImplementation 'androidx.test.ext:truth:1.6.0'
androidTestImplementation 'androidx.test:rules:1.6.1'
androidTestImplementation 'androidx.test.espresso:espresso-intents:3.6.1'
androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.6.1'

// need uiautomator to rotate the device.
// this only works with API >=18
androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0'
androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.3.0'

// release build type expects commcare jars to be in app/libs
implementation(project(':commcare-core')) {
Expand Down Expand Up @@ -121,8 +121,8 @@ dependencies {
exclude group: 'com.mapbox.mapboxsdk', module: 'mapbox-android-accounts'
exclude group: 'io.realm'
}
implementation 'androidx.work:work-runtime:2.7.1'
implementation 'androidx.work:work-runtime-ktx:2.7.1'
implementation 'androidx.work:work-runtime:2.10.0'
implementation 'androidx.work:work-runtime-ktx:2.10.0'

implementation 'com.google.android.play:app-update:2.1.0'
implementation 'android.arch.lifecycle:common-java8:1.1.1'
Expand All @@ -138,7 +138,7 @@ dependencies {
implementation 'com.appmattus.certificatetransparency:certificatetransparency-android:2.5.4'

// Dependency required for API desugaring
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs_minimal:2.0.3'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs_minimal:2.1.3'
}

ext {
Expand Down Expand Up @@ -222,7 +222,7 @@ static def getDate() {

android {
namespace 'org.commcare.dalvik'
compileSdk 34
compileSdk 35

lintOptions {
abortOnError false
Expand Down

0 comments on commit 26eb7c3

Please sign in to comment.