Skip to content

Commit 6be2c06

Browse files
author
who
committed
Adding maven publish functionality for android client
1 parent 5082f69 commit 6be2c06

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

modules/swagger-codegen/src/main/resources/android-java/build.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ android {
5050
ext {
5151
swagger_annotations_version = "1.5.3-M1"
5252
jackson_version = "2.5.2"
53-
httpclient_android_version = "4.3.5.1"
53+
httpclient_version = "4.4.1"
5454
httpcore_version = "4.4.1"
5555
httpmime_version = "4.4.1"
5656
junit_version = "4.8.1"
@@ -61,7 +61,7 @@ dependencies {
6161
compile "com.fasterxml.jackson.core:jackson-core:$jackson_version"
6262
compile "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"
6363
compile "com.fasterxml.jackson.core:jackson-databind:$jackson_version"
64-
compile "org.apache.httpcomponents:httpclient-android:$httpclient_android_version"
64+
compile "org.apache.httpcomponents:httpclient:$httpclient_version"
6565
compile ("org.apache.httpcomponents:httpcore:$httpcore_version") {
6666
exclude(group: 'org.apache.httpcomponents', module: 'httpclient')
6767
}

samples/client/petstore/android-java/build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ allprojects {
2020
}
2121

2222

23-
2423
apply plugin: 'com.android.library'
2524
apply plugin: 'com.github.dcendents.android-maven'
2625

@@ -42,13 +41,12 @@ android {
4241
}
4342
}
4443
}
45-
4644
}
4745

4846
ext {
4947
swagger_annotations_version = "1.5.3-M1"
5048
jackson_version = "2.5.2"
51-
httpclient_android_version = "4.3.5.1"
49+
httpclient_version = "4.4.1"
5250
httpcore_version = "4.4.1"
5351
httpmime_version = "4.4.1"
5452
junit_version = "4.8.1"
@@ -59,7 +57,7 @@ dependencies {
5957
compile "com.fasterxml.jackson.core:jackson-core:$jackson_version"
6058
compile "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"
6159
compile "com.fasterxml.jackson.core:jackson-databind:$jackson_version"
62-
compile "org.apache.httpcomponents:httpclient-android:$httpclient_android_version"
60+
compile "org.apache.httpcomponents:httpclient:$httpclient_version"
6361
compile ("org.apache.httpcomponents:httpcore:$httpcore_version") {
6462
exclude(group: 'org.apache.httpcomponents', module: 'httpclient')
6563
}

0 commit comments

Comments
 (0)