From 0db165acfe4e4e7839101041ab2adfbb6337550a Mon Sep 17 00:00:00 2001 From: Bartosz Litwiniuk <> Date: Sun, 23 Mar 2025 14:12:05 +0100 Subject: [PATCH 1/2] Bump all of the dependencies of backtrace-library, coroner-client, app --- backtrace-library/build.gradle | 14 ++++++-------- coroner-client/build.gradle | 4 ++-- example-app/build.gradle | 2 +- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/backtrace-library/build.gradle b/backtrace-library/build.gradle index 92a25fde..82158d74 100644 --- a/backtrace-library/build.gradle +++ b/backtrace-library/build.gradle @@ -75,23 +75,21 @@ android { } dependencies { - implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation 'com.google.code.gson:gson:2.11.0' + implementation 'com.google.code.gson:gson:2.12.1' implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'com.squareup:tape:1.2.3' testImplementation 'junit:junit:4.13.2' - testImplementation "org.mockito:mockito-core:5.12.0" + testImplementation "org.mockito:mockito-core:5.16.0" testImplementation 'org.json:json:20240303' - androidTestImplementation "org.mockito:mockito-android:5.12.0" - androidTestImplementation 'net.jodah:concurrentunit:0.4.4' + androidTestImplementation "org.mockito:mockito-android:5.16.0" + androidTestImplementation 'net.jodah:concurrentunit:0.4.6' androidTestImplementation 'androidx.test.ext:junit:1.2.1' androidTestImplementation 'androidx.test:rules:1.6.1' androidTestImplementation 'androidx.test.ext:junit:1.2.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1' testImplementation "com.google.guava:guava:33.3.1-jre" - androidTestImplementation 'org.mockito:mockito-core:5.12.0' - androidTestImplementation "org.mockito:mockito-android:5.12.0" - + androidTestImplementation 'org.mockito:mockito-core:5.16.0' + androidTestImplementation "org.mockito:mockito-android:5.16.0" } apply from: 'publish.gradle' diff --git a/coroner-client/build.gradle b/coroner-client/build.gradle index 2f896b12..7446800a 100644 --- a/coroner-client/build.gradle +++ b/coroner-client/build.gradle @@ -9,7 +9,7 @@ java { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation 'com.google.code.gson:gson:2.11.0' + implementation 'com.google.code.gson:gson:2.12.1' testImplementation 'junit:junit:4.13.2' - testImplementation group: 'org.mockito', name: 'mockito-core', version: '5.12.0' + testImplementation group: 'org.mockito', name: 'mockito-core', version: '5.16.0' } diff --git a/example-app/build.gradle b/example-app/build.gradle index e595acb0..3fba7081 100644 --- a/example-app/build.gradle +++ b/example-app/build.gradle @@ -67,7 +67,7 @@ dependencies { testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.2.1' androidTestImplementation 'androidx.test:rules:1.6.1' - androidTestImplementation 'net.jodah:concurrentunit:0.4.4' + androidTestImplementation 'net.jodah:concurrentunit:0.4.6' androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1' implementation project(':backtrace-library') androidTestImplementation project(path: ':coroner-client') From 03951fb8d9688f6f8572ddb9b6a5bb39acf4a2c3 Mon Sep 17 00:00:00 2001 From: Bartosz Litwiniuk <> Date: Sun, 23 Mar 2025 14:34:20 +0100 Subject: [PATCH 2/2] Refactor - move dependencies and remove duplicated one --- backtrace-library/build.gradle | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backtrace-library/build.gradle b/backtrace-library/build.gradle index 82158d74..8007fa12 100644 --- a/backtrace-library/build.gradle +++ b/backtrace-library/build.gradle @@ -81,13 +81,12 @@ dependencies { testImplementation 'junit:junit:4.13.2' testImplementation "org.mockito:mockito-core:5.16.0" testImplementation 'org.json:json:20240303' - androidTestImplementation "org.mockito:mockito-android:5.16.0" + testImplementation "com.google.guava:guava:33.3.1-jre" androidTestImplementation 'net.jodah:concurrentunit:0.4.6' androidTestImplementation 'androidx.test.ext:junit:1.2.1' androidTestImplementation 'androidx.test:rules:1.6.1' androidTestImplementation 'androidx.test.ext:junit:1.2.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1' - testImplementation "com.google.guava:guava:33.3.1-jre" androidTestImplementation 'org.mockito:mockito-core:5.16.0' androidTestImplementation "org.mockito:mockito-android:5.16.0" }