@@ -2,15 +2,15 @@ apply plugin: 'idea'
22apply plugin : ' eclipse'
33
44group = ' com.docusign'
5- version = ' 3.6.0 '
5+ version = ' 3.7.0-BETA '
66
77buildscript {
88 repositories {
99 jcenter()
1010 }
1111 dependencies {
12- classpath ' com.android.tools.build:gradle:1.2.2 '
13- classpath ' com.github.dcendents:android-maven-plugin:1.2 '
12+ classpath ' com.android.tools.build:gradle:2.3.+ '
13+ classpath ' com.github.dcendents:android-maven-gradle- plugin:1.5 '
1414 classpath ' ch.raffael.pegdown-doclet:pegdown-doclet:1.3'
1515 }
1616}
@@ -27,11 +27,11 @@ if(hasProperty('target') && target == 'android') {
2727 apply plugin : ' com.github.dcendents.android-maven'
2828
2929 android {
30- compileSdkVersion 22
31- buildToolsVersion ' 22 .0.0 '
30+ compileSdkVersion 25
31+ buildToolsVersion ' 25 .0.2 '
3232 defaultConfig {
3333 minSdkVersion 14
34- targetSdkVersion 22
34+ targetSdkVersion 25
3535 }
3636 compileOptions {
3737 sourceCompatibility JavaVersion . VERSION_1_7
@@ -93,6 +93,21 @@ if(hasProperty('target') && target == 'android') {
9393 main = System . getProperty(' mainClass' )
9494 classpath = sourceSets. main. runtimeClasspath
9595 }
96+
97+ task sourcesJar(type : Jar , dependsOn : classes) {
98+ classifier = ' sources'
99+ from sourceSets. main. allSource
100+ }
101+
102+ task javadocJar(type : Jar , dependsOn : javadoc) {
103+ classifier = ' javadoc'
104+ from javadoc. destinationDir
105+ }
106+
107+ artifacts {
108+ archives sourcesJar
109+ archives javadocJar
110+ }
96111}
97112
98113task getDeps (type : Copy ) {
@@ -101,10 +116,9 @@ task getDeps(type: Copy) {
101116}
102117
103118ext {
104- swagger_annotations_version = " 1.5.8"
105- jackson_version = " 2.9.9"
106- jersey_version = " 1.19.1"
107- jodatime_version = " 2.9.3"
119+ swagger_annotations_version = " 1.5.17"
120+ jackson_version = " 2.10.1"
121+ jersey_version = " 2.29.1"
108122 junit_version = " 4.12"
109123 oltu_version = " 1.0.2"
110124 jwt_version = " 3.4.1"
@@ -113,17 +127,17 @@ ext {
113127
114128dependencies {
115129 compile " io.swagger:swagger-annotations:$swagger_annotations_version "
116- compile " com.sun.jersey:jersey-client:$jersey_version "
117- compile " com.sun.jersey.contribs:jersey-multipart:$jersey_version "
130+ compile " org.glassfish.jersey.core:jersey-client:$jersey_version "
131+ compile " org.glassfish.jersey.media:jersey-media-multipart:$jersey_version "
132+ compile " org.glassfish.jersey.media:jersey-media-json-jackson:$jersey_version "
118133 compile " com.fasterxml.jackson.core:jackson-core:$jackson_version "
119134 compile " com.fasterxml.jackson.core:jackson-annotations:$jackson_version "
120135 compile " com.fasterxml.jackson.core:jackson-databind:$jackson_version "
121- compile " com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:$jackson_version "
122- compile " com.fasterxml.jackson.datatype:jackson-datatype-joda:2.1.5"
123- compile " joda-time:joda-time:$jodatime_version "
136+ compile " com.fasterxml.jackson.datatype:jackson-datatype-joda:$jackson_version "
124137 compile " com.brsanthu:migbase64:2.2"
125- compile " org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version "
126138 testCompile " junit:junit:$junit_version "
139+ compile " org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version "
127140 compile " com.auth0:java-jwt:$jwt_version "
128141 compile " org.bouncycastle:bcprov-jdk15on:$bouncy_version "
129142}
143+
0 commit comments