Adding maven publish functionality for android client

This commit is contained in:
who 2015-04-30 10:34:43 -07:00
parent 5082f69631
commit 6be2c06ed3
2 changed files with 4 additions and 6 deletions

View File

@ -50,7 +50,7 @@ android {
ext {
swagger_annotations_version = "1.5.3-M1"
jackson_version = "2.5.2"
httpclient_android_version = "4.3.5.1"
httpclient_version = "4.4.1"
httpcore_version = "4.4.1"
httpmime_version = "4.4.1"
junit_version = "4.8.1"
@ -61,7 +61,7 @@ dependencies {
compile "com.fasterxml.jackson.core:jackson-core:$jackson_version"
compile "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"
compile "com.fasterxml.jackson.core:jackson-databind:$jackson_version"
compile "org.apache.httpcomponents:httpclient-android:$httpclient_android_version"
compile "org.apache.httpcomponents:httpclient:$httpclient_version"
compile ("org.apache.httpcomponents:httpcore:$httpcore_version") {
exclude(group: 'org.apache.httpcomponents', module: 'httpclient')
}

View File

@ -20,7 +20,6 @@ allprojects {
}
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
@ -42,13 +41,12 @@ android {
}
}
}
}
ext {
swagger_annotations_version = "1.5.3-M1"
jackson_version = "2.5.2"
httpclient_android_version = "4.3.5.1"
httpclient_version = "4.4.1"
httpcore_version = "4.4.1"
httpmime_version = "4.4.1"
junit_version = "4.8.1"
@ -59,7 +57,7 @@ dependencies {
compile "com.fasterxml.jackson.core:jackson-core:$jackson_version"
compile "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"
compile "com.fasterxml.jackson.core:jackson-databind:$jackson_version"
compile "org.apache.httpcomponents:httpclient-android:$httpclient_android_version"
compile "org.apache.httpcomponents:httpclient:$httpclient_version"
compile ("org.apache.httpcomponents:httpcore:$httpcore_version") {
exclude(group: 'org.apache.httpcomponents', module: 'httpclient')
}