From 791c0aa75b294d0741e8e98b752bc8148d310180 Mon Sep 17 00:00:00 2001 From: Mircea Nistor Date: Fri, 20 Mar 2020 15:56:54 +0100 Subject: [PATCH 1/2] fix: expose internal dependencies as API to fix NoClassDefFound errors downstream --- core/build.gradle | 2 +- signer-common/build.gradle | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/build.gradle b/core/build.gradle index f4a7e42..4e0c75a 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -13,7 +13,7 @@ dependencies { api "com.squareup.okhttp3:okhttp:$okhttp_version" api "com.github.komputing.khex:extensions:$khex_version" api "com.github.komputing.kethereum:extensions_kotlin:$kethereum_version" - implementation "com.madgag.spongycastle:core:$spongycastle_version" + api "com.madgag.spongycastle:core:$spongycastle_version" testImplementation "junit:junit:$junit_version" testImplementation "com.willowtreeapps.assertk:assertk-jvm:$assertk_version" diff --git a/signer-common/build.gradle b/signer-common/build.gradle index 2a09065..aa2a0f8 100644 --- a/signer-common/build.gradle +++ b/signer-common/build.gradle @@ -14,11 +14,11 @@ dependencies { api "com.github.komputing.khex:extensions:$khex_version" api "com.github.komputing.kethereum:extensions_kotlin:$kethereum_version" api "com.github.komputing.kethereum:model:$kethereum_version" - implementation "com.github.komputing.kethereum:extensions_transactions:$kethereum_version" - implementation "com.github.komputing.kethereum:crypto:$kethereum_version" - implementation "com.github.komputing.khash:sha256:$khash_version" - implementation "com.github.komputing.kethereum:crypto_impl_spongycastle:$kethereum_version" - implementation "com.madgag.spongycastle:core:$spongycastle_version" + api "com.github.komputing.kethereum:extensions_transactions:$kethereum_version" + api "com.github.komputing.kethereum:crypto:$kethereum_version" + api "com.github.komputing.khash:sha256:$khash_version" + api "com.github.komputing.kethereum:crypto_impl_spongycastle:$kethereum_version" + api "com.madgag.spongycastle:core:$spongycastle_version" testImplementation "junit:junit:$junit_version" From 4ccfb8f565c904051007b7f369cca67fee0fe3d4 Mon Sep 17 00:00:00 2001 From: Mircea Nistor Date: Fri, 20 Mar 2020 16:00:11 +0100 Subject: [PATCH 2/2] chore: bump version to 0.4.2 --- CHANGELOG.md | 3 +++ README.md | 2 +- build.gradle | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0026b7c..0df7b28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +* 0.4.2 + * fix - Expose internal dependencies as API to fix NoClassDefFound errors downstream ( 791c0aa7 ) + * 0.4.1 * fix - okhttp dependency ( 4ac0e8d1 )( 4f2839f4 ) diff --git a/README.md b/README.md index 8f87eeb..7aaf934 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ allprojects { In your module `build.gradle` file, add: ```groovy -def uport_kotlin_common_version = "0.4.1" +def uport_kotlin_common_version = "0.4.2" dependencies { //... // core lib diff --git a/build.gradle b/build.gradle index 8b2aece..58b7f44 100644 --- a/build.gradle +++ b/build.gradle @@ -20,7 +20,7 @@ buildscript { khex_version = "1.0.0-RC6" khash_version = "1.0.0-RC5" - current_release_version = "0.4.1" + current_release_version = "0.4.2" } repositories {