Skip to content

Commit afe90b6

Browse files
committed
adjusting transitive dependency to fix dex issue
1 parent 4e177e3 commit afe90b6

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

contract-tests/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,15 @@ android {
2424
}
2525
}
2626

27+
configurations.all {
28+
// Exclude error_prone_annotations as it's compile-time only and causes dexing issues
29+
exclude group: 'com.google.errorprone', module: 'error_prone_annotations'
30+
}
31+
2732
dependencies {
2833
// https://mvnrepository.com/artifact/org.nanohttpd/nanohttpd
2934
implementation("org.nanohttpd:nanohttpd:2.3.1")
30-
implementation("com.google.code.gson:gson:2.13.1")
35+
implementation("com.google.code.gson:gson:2.13.2")
3136
implementation("com.squareup.okhttp3:okhttp:4.9.2")
3237
implementation(project(":launchdarkly-android-client-sdk"))
3338
// Comment the previous line and uncomment this one to depend on the published artifact:

launchdarkly-android-client-sdk/build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,17 @@ configurations {
5454
configurations.all {
5555
// allows snapshot dependencies to be updated
5656
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
57+
58+
// Exclude error_prone_annotations as it's compile-time only and causes dexing issues
59+
exclude group: 'com.google.errorprone', module: 'error_prone_annotations'
5760
}
5861

5962
ext {}
6063
ext.versions = [
6164
"androidAnnotation": "1.2.0",
6265
"androidAppcompat": "1.1.0",
6366
"eventsource": "3.0.0",
64-
"gson": "2.13.1",
67+
"gson": "2.13.2",
6568
"jacksonCore": "2.10.5",
6669
"jacksonDatabind": "2.10.5.1",
6770
"junit": "4.13",

shared-test-code/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ version = version
1111
ext {}
1212
ext.versions = [
1313
"androidAnnotation": "1.2.0",
14-
"gson": "2.13.1",
14+
"gson": "2.13.2",
1515
"junit": "4.13",
1616
"launchdarklyLogging": "1.1.1",
1717
]
@@ -26,6 +26,11 @@ android {
2626
}
2727
}
2828

29+
configurations.all {
30+
// Exclude error_prone_annotations as it's compile-time only and causes dexing issues
31+
exclude group: 'com.google.errorprone', module: 'error_prone_annotations'
32+
}
33+
2934
dependencies {
3035
implementation(project(":launchdarkly-android-client-sdk"))
3136

0 commit comments

Comments
 (0)