Skip to content

improve gradle build, comments #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 8 additions & 2 deletions substrate-client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down