Skip to content

Commit f8bc4a1

Browse files
authored
remove unnecessary dependencies in android volley (#8991)
1 parent 558bdad commit f8bc4a1

4 files changed

Lines changed: 0 additions & 32 deletions

File tree

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
@@ -78,8 +78,6 @@ ext {
7878
swagger_annotations_version = "1.6.2"
7979
gson_version = "2.8.6"
8080
httpmime_version = "4.5.13"
81-
httpcore_version = "4.4.14"
82-
httpclient_version = "4.3.5.1"
8381
volley_version = "1.2.0"
8482
junit_version = "4.13.2"
8583
robolectric_version = "4.5.1"
@@ -89,9 +87,7 @@ ext {
8987
dependencies {
9088
implementation "io.swagger:swagger-annotations:$swagger_annotations_version"
9189
implementation "com.google.code.gson:gson:$gson_version"
92-
implementation "org.apache.httpcomponents:httpcore:$httpcore_version"
9390
implementation "org.apache.httpcomponents:httpmime:$httpmime_version"
94-
implementation "org.apache.httpcomponents:httpclient-android:$httpclient_version"
9591
implementation "com.android.volley:volley:${volley_version}"
9692
testImplementation "junit:junit:$junit_version"
9793
testImplementation "org.robolectric:robolectric:${robolectric_version}"

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,6 @@
1717
<artifactId>jsr305</artifactId>
1818
<version>3.0.2</version>
1919
</dependency>
20-
<dependency>
21-
<groupId>org.apache.httpcomponents</groupId>
22-
<artifactId>httpcore</artifactId>
23-
<version>${httpcomponents-httpcore-version}</version>
24-
</dependency>
25-
<dependency>
26-
<groupId>org.apache.httpcomponents</groupId>
27-
<artifactId>httpclient-android</artifactId>
28-
<version>${httpcomponents-httpclient-version}</version>
29-
</dependency>
3020
<dependency>
3121
<groupId>org.apache.httpcomponents</groupId>
3222
<artifactId>httpmime</artifactId>
@@ -63,9 +53,7 @@
6353
</build>
6454
<properties>
6555
<swagger-annotations-version>1.5.8</swagger-annotations-version>
66-
<httpcomponents-httpcore-version>4.4.4</httpcomponents-httpcore-version>
6756
<httpcomponents-httpmime-version>4.5.2</httpcomponents-httpmime-version>
68-
<httpcomponents-httpclient-version>4.3.3</httpcomponents-httpclient-version>
6957
<google-code-gson-version>2.6.2</google-code-gson-version>
7058
<volley-library-version>1.0.19</volley-library-version>
7159
<android-platform-version>4.1.1.4</android-platform-version>

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ ext {
6060
swagger_annotations_version = "1.6.2"
6161
gson_version = "2.8.6"
6262
httpmime_version = "4.5.13"
63-
httpcore_version = "4.4.14"
64-
httpclient_version = "4.3.5.1"
6563
volley_version = "1.2.0"
6664
junit_version = "4.13.2"
6765
robolectric_version = "4.5.1"
@@ -71,9 +69,7 @@ ext {
7169
dependencies {
7270
implementation "io.swagger:swagger-annotations:$swagger_annotations_version"
7371
implementation "com.google.code.gson:gson:$gson_version"
74-
implementation "org.apache.httpcomponents:httpcore:$httpcore_version"
7572
implementation "org.apache.httpcomponents:httpmime:$httpmime_version"
76-
implementation "org.apache.httpcomponents:httpclient-android:$httpclient_version"
7773
implementation "com.android.volley:volley:${volley_version}"
7874
testImplementation "junit:junit:$junit_version"
7975
testImplementation "org.robolectric:robolectric:${robolectric_version}"

samples/client/petstore/android/volley/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,6 @@
1717
<artifactId>jsr305</artifactId>
1818
<version>3.0.2</version>
1919
</dependency>
20-
<dependency>
21-
<groupId>org.apache.httpcomponents</groupId>
22-
<artifactId>httpcore</artifactId>
23-
<version>${httpcomponents-httpcore-version}</version>
24-
</dependency>
25-
<dependency>
26-
<groupId>org.apache.httpcomponents</groupId>
27-
<artifactId>httpclient-android</artifactId>
28-
<version>${httpcomponents-httpclient-version}</version>
29-
</dependency>
3020
<dependency>
3121
<groupId>org.apache.httpcomponents</groupId>
3222
<artifactId>httpmime</artifactId>
@@ -63,9 +53,7 @@
6353
</build>
6454
<properties>
6555
<swagger-annotations-version>1.5.8</swagger-annotations-version>
66-
<httpcomponents-httpcore-version>4.4.4</httpcomponents-httpcore-version>
6756
<httpcomponents-httpmime-version>4.5.2</httpcomponents-httpmime-version>
68-
<httpcomponents-httpclient-version>4.3.3</httpcomponents-httpclient-version>
6957
<google-code-gson-version>2.6.2</google-code-gson-version>
7058
<volley-library-version>1.0.19</volley-library-version>
7159
<android-platform-version>4.1.1.4</android-platform-version>

0 commit comments

Comments
 (0)