diff --git a/autobahn/build.gradle b/autobahn/build.gradle index 3802e6cf..d8325f20 100644 --- a/autobahn/build.gradle +++ b/autobahn/build.gradle @@ -24,10 +24,14 @@ dependencies { implementation 'com.fasterxml.jackson.core:jackson-databind:2.16.1' implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.16.1' implementation 'org.msgpack:jackson-dataformat-msgpack:0.9.8' - implementation 'org.web3j:core:4.11.0' - implementation 'org.web3j:abi:4.11.0' - implementation 'org.web3j:utils:4.11.0' - if (!IS_ANDROID) { + if (IS_ANDROID) { + implementation 'org.web3j:core:4.8.7-android' + implementation 'org.web3j:abi:4.8.7-android' + implementation 'org.web3j:utils:4.8.7-android' + } else{ + implementation 'org.web3j:core:4.11.0' + implementation 'org.web3j:abi:4.11.0' + implementation 'org.web3j:utils:4.11.0' implementation 'org.json:json:20240205' implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.12.5' }