Skip to content

Commit 44e9ff5

Browse files
authored
[android][volley] Remove unused robolectric test dependency (#19022)
Causes failures like: Configuration `:debugUnitTestRuntimeClasspath` contains AndroidX dependencies, but the `android.useAndroidX` property is not enabled, which may cause runtime issues.
1 parent 9c26848 commit 44e9ff5

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

  • modules/openapi-generator/src/main/resources/android/libraries/volley
  • samples/client/petstore/android/volley

modules/openapi-generator/src/main/resources/android/libraries/volley/build.mustache

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ ext {
5858
httpmime_version = "4.5.14"
5959
volley_version = "1.2.1"
6060
junit_version = "4.13.2"
61-
robolectric_version = "4.5.1"
62-
concurrent_unit_version = "0.4.6"
6361
}
6462

6563
dependencies {
@@ -73,8 +71,6 @@ dependencies {
7371
}
7472
implementation "com.android.volley:volley:${volley_version}"
7573
testImplementation "junit:junit:$junit_version"
76-
testImplementation "org.robolectric:robolectric:${robolectric_version}"
77-
testImplementation "net.jodah:concurrentunit:${concurrent_unit_version}"
7874
}
7975

8076
publishing {

samples/client/petstore/android/volley/build.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ ext {
3838
httpmime_version = "4.5.14"
3939
volley_version = "1.2.1"
4040
junit_version = "4.13.2"
41-
robolectric_version = "4.5.1"
42-
concurrent_unit_version = "0.4.6"
4341
}
4442

4543
dependencies {
@@ -53,8 +51,6 @@ dependencies {
5351
}
5452
implementation "com.android.volley:volley:${volley_version}"
5553
testImplementation "junit:junit:$junit_version"
56-
testImplementation "org.robolectric:robolectric:${robolectric_version}"
57-
testImplementation "net.jodah:concurrentunit:${concurrent_unit_version}"
5854
}
5955

6056
publishing {

0 commit comments

Comments
 (0)