@@ -18,11 +18,10 @@ def relVersion = System.getenv().containsKey('AUTOBAHN_BUILD_VERSION') ? System.
1818def siteUrl = ' https://github.com/crossbario/autobahn-java'
1919
2020dependencies {
21- api ' com.fasterxml.jackson.core:jackson-core:2.11.1'
22- // api 'net.sourceforge.streamsupport:streamsupport-cfuture:1.6.2'
23- implementation ' com.fasterxml.jackson.core:jackson-databind:2.11.1'
24- implementation ' com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.11.1'
25- implementation ' org.msgpack:jackson-dataformat-msgpack:0.8.20'
21+ api ' com.fasterxml.jackson.core:jackson-core:2.12.3'
22+ implementation ' com.fasterxml.jackson.core:jackson-databind:2.12.3'
23+ implementation ' com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.12.3'
24+ implementation ' org.msgpack:jackson-dataformat-msgpack:0.8.22'
2625 if (IS_ANDROID ) {
2726 implementation ' com.github.joshjdevl.libsodiumjni:libsodium-jni-aar:2.0.2'
2827 implementation ' org.web3j:core:4.6.0-android'
@@ -33,59 +32,21 @@ dependencies {
3332 implementation ' org.web3j:core:4.6.0'
3433 implementation ' org.web3j:abi:4.6.0'
3534 implementation ' org.web3j:utils:4.6.0'
36- implementation ' org.json:json:20200518 '
35+ implementation ' org.json:json:20210307 '
3736 }
3837 if (IS_NETTY ) {
39- implementation ' io.netty:netty-codec-http:4.1.50.Final'
40- implementation ' io.netty:netty-handler:4.1.50.Final'
41- }
42- }
43-
44- if (PUBLISH ) {
45- apply plugin : ' com.jfrog.bintray'
46-
47- bintray {
48- user = System . getenv(' BINTRAY_USER' )
49- key = System . getenv(' BINTRAY_KEY' )
50- if (IS_ANDROID ) {
51- configurations = [' archives' ]
52- } else {
53- publications = [' mavenJava' ]
54- }
55- publish = true
56- pkg {
57- repo = ' autobahn'
58- if (IS_ANDROID ) {
59- name = ARTIFACT_ANDROID
60- } else if (IS_NEXT ){
61- name = ARTIFACT_NEXT
62- } else {
63- name = ARTIFACT_JAVA
64- }
65- userOrg = ' crossbario'
66- licenses = [licenseName]
67- vcsUrl = gitUrl
68- version {
69- name = relVersion
70- released = new Date ()
71- mavenCentralSync {
72- sync = true
73- user = System . getenv(' SONATYPE_USERNAME' )
74- password = System . getenv(' SONATYPE_PASSWORD' )
75- close = ' 1'
76- }
77- }
78- }
38+ implementation ' io.netty:netty-codec-http:4.1.63.Final'
39+ implementation ' io.netty:netty-handler:4.1.63.Final'
7940 }
8041}
8142
8243if (IS_ANDROID ) {
8344 android {
84- compileSdkVersion 29
85- buildToolsVersion ' 29 .0.3'
45+ compileSdkVersion 30
46+ buildToolsVersion ' 30 .0.3'
8647 defaultConfig {
8748 minSdkVersion 24
88- targetSdkVersion 29
49+ targetSdkVersion 30
8950 }
9051 buildTypes {
9152 release {
0 commit comments