@@ -3,16 +3,16 @@ plugins {
33 id ' eclipse'
44 id " maven"
55 id " maven-publish"
6- id ' net.saliman.cobertura' version ' 2.2.6 '
7- id " com.jfrog.bintray" version " 1.4 "
8- id ' co.riiid.gradle' version ' 0.3.1 '
6+ id ' net.saliman.cobertura' version ' 2.3.0 '
7+ id " com.jfrog.bintray" version " 1.6 "
8+ id ' co.riiid.gradle' version ' 0.4.2 '
99}
1010
1111group = ' synapticloop'
1212archivesBaseName = ' backblaze-b2-java-api'
1313description = """ An api for backblaze b2 storage in java"""
1414
15- version = ' v1.1.3 '
15+ version = ' v1.1.4 '
1616
1717description = """ backblaze-b2-java-api"""
1818
@@ -28,24 +28,25 @@ repositories {
2828}
2929
3030dependencies {
31- runtime ' org.apache.httpcomponents:httpclient:4.3.4 '
31+ runtime ' org.apache.httpcomponents:httpclient:4.5.1 '
3232 runtime ' commons-io:commons-io:2.4'
33- runtime ' org.json:json:20090211 '
33+ runtime ' org.json:json:20160212 '
3434 runtime ' org.slf4j:slf4j-api:1.7.13'
3535
36- compile ' org.apache.httpcomponents:httpclient:4.3.4 '
36+ compile ' org.apache.httpcomponents:httpclient:4.5.1 '
3737 compile ' commons-io:commons-io:2.4'
38- compile ' org.json:json:20090211 '
38+ compile ' org.json:json:20160212 '
3939 compile ' org.slf4j:slf4j-api:1.7.13'
4040
41- testCompile ' junit:junit:4.7 '
42- testCompile ' org.apache.logging.log4j:log4j-slf4j-impl:2.4.1 '
43- testCompile ' org.apache.logging.log4j:log4j-core:2.4.1 '
44- testCompile ' org.json:json:20090211 '
41+ testCompile ' junit:junit:4.12 '
42+ testCompile ' org.apache.logging.log4j:log4j-slf4j-impl:2.5 '
43+ testCompile ' org.apache.logging.log4j:log4j-core:2.5 '
44+ testCompile ' org.json:json:20160212 '
4545
46- testRuntime ' org.apache.logging.log4j:log4j-slf4j-impl:2.4.1'
47- testRuntime ' org.apache.logging.log4j:log4j-core:2.4.1'
48- testRuntime ' org.json:json:20090211'
46+ testRuntime ' junit:junit:4.12'
47+ testRuntime ' org.apache.logging.log4j:log4j-slf4j-impl:2.5'
48+ testRuntime ' org.apache.logging.log4j:log4j-core:2.5'
49+ testRuntime ' org.json:json:20160212'
4950}
5051
5152configurations. all {
@@ -55,6 +56,13 @@ configurations.all {
5556 ' xerces:xmlParserAPIs:2.6.2' ,
5657 ' xerces:xercesImpl:2.6.2' ,
5758 ' xml-apis:xml-apis:1.0.b2'
59+
60+ eachDependency {
61+ DependencyResolveDetails details ->
62+ if (details. requested. group == ' junit' ) {
63+ details. useVersion ' 4.12'
64+ }
65+ }
5866 }
5967}
6068
@@ -145,4 +153,4 @@ github {
145153 assets = [
146154 ' build/libs/' + archivesBaseName + ' -' + version + ' .jar'
147155 ]
148- }
156+ }
0 commit comments