diff --git a/build.gradle b/build.gradle index b778d39..e28681a 100644 --- a/build.gradle +++ b/build.gradle @@ -28,14 +28,6 @@ static def gitSha() { sha } -allprojects { - repositories { - google() - jcenter() - maven { url 'https://jitpack.io' } - } -} - ext { serialization_version = "0.20.0" kotlinxCoroutine = "1.4.2" diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index bdb68f9..23810fe 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip diff --git a/substrate-client/build.gradle b/substrate-client/build.gradle index 9959160..edcd34b 100644 --- a/substrate-client/build.gradle +++ b/substrate-client/build.gradle @@ -27,8 +27,14 @@ afterEvaluate { project.compileKotlin.dependsOn(createVersionFile) + +repositories { + google() + jcenter() // for just 2 novacrypto deps required by BIP39 + maven { url 'https://jitpack.io' } +} + dependencies { - implementation fileTree(dir: 'libs', include: ['*.jar']) api group: 'org.slf4j', name:'slf4j-api', version: '1.7.30' // websocket @@ -42,7 +48,7 @@ dependencies { // BIP-39: key generation from 12 words mnemonic // not a fan of this dependency because it comes with spongy castle which we don't need - implementation 'com.github.NodleCode:BIP39:484f9d5d588' + implementation 'com.github.NodleCode:BIP39:484f9d5d588' // https://jitpack.io/#nodlecode/bip39/484f9d5d58 implementation 'com.github.komputing:KBase58:0.1' // kotlin