diff --git a/app/build.gradle b/app/build.gradle index 5e41bbe87f..febc5293ea 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -77,7 +77,7 @@ dependencies { implementation 'com.google.android.play:core-ktx:1.8.1' coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' - implementation 'com.tangem:blockchain:develop-17' + implementation 'com.tangem:blockchain:develop-22' implementation 'com.tangem:core:develop-36' implementation 'com.tangem:sdk:develop-36' @@ -117,10 +117,6 @@ dependencies { implementation 'com.squareup.moshi:moshi:1.9.2' implementation "com.squareup.moshi:moshi-kotlin:1.9.2" implementation 'com.squareup.okhttp3:logging-interceptor:4.2.2' -// -// //Crypto - implementation "com.madgag.spongycastle:core:1.58.0.0" - testImplementation 'junit:junit:4.13.2' testImplementation "com.google.truth:truth:1.0.1" diff --git a/app/src/main/java/com/tangem/tap/TapApplication.kt b/app/src/main/java/com/tangem/tap/TapApplication.kt index 491f1c9cfb..166ae2183f 100644 --- a/app/src/main/java/com/tangem/tap/TapApplication.kt +++ b/app/src/main/java/com/tangem/tap/TapApplication.kt @@ -5,6 +5,7 @@ import com.google.firebase.ktx.Firebase import com.google.firebase.remoteconfig.ktx.remoteConfig import com.google.firebase.remoteconfig.ktx.remoteConfigSettings import com.tangem.Log +import com.tangem.blockchain.network.BlockchainSdkRetrofitBuilder import com.tangem.tap.common.images.PicassoHelper import com.tangem.tap.common.redux.AppState import com.tangem.tap.common.redux.appReducer @@ -58,6 +59,8 @@ class TapApplication : Application() { initFeedbackManager() loadConfigs() + + BlockchainSdkRetrofitBuilder.enableNetworkLogging = BuildConfig.DEBUG } private fun loadConfigs() { diff --git a/build.gradle b/build.gradle index 576034574e..f2dcf4b2fe 100644 --- a/build.gradle +++ b/build.gradle @@ -19,28 +19,10 @@ buildscript { allprojects { repositories { google() + jcenter() + mavenLocal() + maven { url "https://nexus.tangem-tech.com/repository/maven-releases/" } maven { url 'https://jitpack.io' } - def nexusUser = "viewer" - def nexusPass = "smartcash124" - repositories { - google() - jcenter() - maven { - credentials { - username = nexusUser - password = nexusPass - } - url "https://nexus.tangem-tech.com/repository/maven-releases/" - } - maven { - credentials { - username = nexusUser - password = nexusPass - } - url "https://nexus.tangem-tech.com/repository/maven-snapshots/" - } - maven { url 'https://jitpack.io' } - } } }