Skip to content
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

agp 8.6.0, versions up #428

Merged
merged 1 commit into from
Sep 3, 2024
Merged
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
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
[submodule "android-foundation"]
path = android-foundation
url = https://github.com/soramitsu/android-foundation.git
1 change: 0 additions & 1 deletion android-foundation
Submodule android-foundation deleted from 193868
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ play {

dependencies {
// implementation(libs.fileTree(dir: 'libs', include: ['*.jar'])
implementation(project(":android-foundation"))
implementation(project(":common"))
implementation(project(":core_db"))
implementation(project(":demeter"))
Expand Down Expand Up @@ -222,6 +221,7 @@ dependencies {
implementation(libs.timberDep)

implementation(libs.xsubstrateDep)
implementation(libs.soramitsu.android.foundation)

implementation(libs.daggerDep)
kapt(libs.daggerKaptDep)
Expand Down
2 changes: 1 addition & 1 deletion common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ android {
}

dependencies {
implementation(project(":android-foundation"))
implementation(project(":network"))

implementation(libs.activityKtxDep)
Expand All @@ -165,6 +164,7 @@ dependencies {
implementation(libs.coroutineDep)

implementation(libs.uiCoreDep)
implementation(libs.soramitsu.android.foundation)

implementation(libs.kotlinxSerializationJsonDep)

Expand Down
5 changes: 2 additions & 3 deletions common_wallet/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ android {
dependencies {
// implementation(libs.fileTree(dir: 'libs', include: ['*.jar']))

implementation(project(":android-foundation"))
implementation(project(":common"))
implementation(project(":feature_blockexplorer_api"))
implementation(project(":core_db"))
Expand All @@ -93,6 +92,7 @@ dependencies {
implementation(libs.coroutineDep)

implementation(libs.uiCoreDep)
implementation(libs.soramitsu.android.foundation)

implementation(libs.coilSvgDep)

Expand All @@ -106,9 +106,8 @@ dependencies {
implementation(libs.svgDep)
implementation(libs.jdenticonDep)

api(libs.soraCardDep) {
api(libs.soramitsu.sora.card) {
exclude(group = "com.paywings.onboarding.kyc.android-libs", module = "java-websocket-lib")
exclude(module = "android-foundation")
}

implementation(libs.daggerDep)
Expand Down
2 changes: 1 addition & 1 deletion core_db/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ dependencies {
ksp(libs.roomKaptDep)

androidTestImplementation(project(":test_data"))
androidTestImplementation(project(":android-foundation"))
androidTestImplementation(libs.soramitsu.android.foundation)
androidTestImplementation(libs.androidxTestExtJunitDep)
androidTestImplementation(libs.androidxTestEspressoCoreDep)
androidTestImplementation(libs.archCoreTestDep)
Expand Down
2 changes: 1 addition & 1 deletion demeter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ android {
}

dependencies {
implementation(project(":android-foundation"))
implementation(project(":common"))
implementation(project(":common_wallet"))
implementation(project(":core_db"))
Expand All @@ -96,6 +95,7 @@ dependencies {
implementation(libs.coroutineAndroidDep)

implementation(libs.xsubstrateDep)
implementation(libs.soramitsu.android.foundation)

implementation(libs.composeRuntimeDep)

Expand Down
2 changes: 1 addition & 1 deletion feature_account_impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ android {
}

dependencies {
implementation(project(":android-foundation"))
implementation(project(":common"))
implementation(project(":feature_account_api"))
implementation(project(":feature_blockexplorer_api"))
Expand All @@ -74,6 +73,7 @@ dependencies {

implementation(libs.xcryptoDep)
implementation(libs.xsubstrateDep)
implementation(libs.soramitsu.android.foundation)

implementation(libs.daggerDep)
kapt(libs.daggerKaptDep)
Expand Down
2 changes: 1 addition & 1 deletion feature_assets_impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ android {
}

dependencies {
implementation(project(":android-foundation"))
implementation(project(":common"))
implementation(project(":common_wallet"))
implementation(project(":core_db"))
Expand All @@ -93,6 +92,7 @@ dependencies {

implementation(libs.xsubstrateDep)
implementation(libs.xcryptoDep)
implementation(libs.soramitsu.android.foundation)

implementation(libs.appcompatDep)
implementation(libs.materialDep)
Expand Down
2 changes: 1 addition & 1 deletion feature_blockexplorer_api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ android {
}

dependencies {
implementation(project(":android-foundation"))
implementation(project(":common"))
implementation(project(":core_db"))
implementation(project(":network"))
Expand All @@ -93,6 +92,7 @@ dependencies {
implementation(libs.viewmodelKtxDep)

implementation(libs.uiCoreDep)
implementation(libs.soramitsu.android.foundation)
implementation(libs.navigationComposeDep)

implementation(platform(libs.compose.bom))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import jp.co.soramitsu.feature_blockexplorer_api.data.models.SoraConfig
import jp.co.soramitsu.feature_blockexplorer_api.data.models.SoraConfigNode
import jp.co.soramitsu.feature_blockexplorer_api.data.models.SoraCurrency
import jp.co.soramitsu.xnetworking.lib.engines.rest.api.RestClient
import jp.co.soramitsu.xnetworking.lib.engines.utils.JsonGetRequest
import jp.co.soramitsu.xnetworking.lib.engines.utils.getAsString
import kotlinx.serialization.DeserializationStrategy
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
Expand Down Expand Up @@ -124,12 +124,7 @@ class SoraConfigManager @Inject constructor(
deserializer: () -> DeserializationStrategy<T>
): T? {
val result = runCatching {
restClient.getReturnString(
JsonGetRequest(
url = url(),
responseDeserializer = String.serializer()
)
)
restClient.getAsString(url())
}.onSuccess { configAsString ->
soraPreferences.putString(
field = nameToSaveWith(),
Expand Down
2 changes: 1 addition & 1 deletion feature_blockexplorer_impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ android {

dependencies {

implementation(project(":android-foundation"))
implementation(project(":common"))
implementation(project(":sorasubstrate"))
implementation(project(":feature_assets_api"))
Expand All @@ -99,6 +98,7 @@ dependencies {
implementation(libs.viewmodelKtxDep)

implementation(libs.uiCoreDep)
implementation(libs.soramitsu.android.foundation)
implementation(libs.navigationComposeDep)

implementation(platform(libs.compose.bom))
Expand Down
2 changes: 1 addition & 1 deletion feature_ecosystem_impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ android {
}

dependencies {
implementation(project(":android-foundation"))
implementation(project(":common"))
implementation(project(":demeter"))
implementation(project(":common_wallet"))
Expand Down Expand Up @@ -119,6 +118,7 @@ dependencies {
kapt(libs.lifecycleKaptDep)

implementation(libs.uiCoreDep)
implementation(libs.soramitsu.android.foundation)

implementation(platform(libs.compose.bom))
implementation(libs.composeUiDep)
Expand Down
2 changes: 1 addition & 1 deletion feature_main_impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ android {
}

dependencies {
implementation(project(":android-foundation"))
implementation(project(":common"))
implementation(project(":common_wallet"))
implementation(project(":core_db"))
Expand All @@ -99,6 +98,7 @@ dependencies {
implementation(libs.biometricDep)

implementation(libs.uiCoreDep)
implementation(libs.soramitsu.android.foundation)

implementation(libs.coreKtxDep)

Expand Down
2 changes: 1 addition & 1 deletion feature_multiaccount_impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ android {

dependencies {

implementation(project(":android-foundation"))
implementation(project(":common"))
implementation(project(":feature_assets_api"))
implementation(project(":feature_account_api"))
Expand All @@ -105,6 +104,7 @@ dependencies {
implementation(libs.viewmodelKtxDep)

implementation(libs.uiCoreDep)
implementation(libs.soramitsu.android.foundation)

implementation(libs.coilDep)
implementation(libs.coilComposeDep)
Expand Down
2 changes: 1 addition & 1 deletion feature_polkaswap_impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ android {

dependencies {

implementation(project(":android-foundation"))
implementation(project(":common"))
implementation(project(":common_wallet"))
implementation(project(":core_db"))
Expand All @@ -93,6 +92,7 @@ dependencies {

implementation(libs.xsubstrateDep)
implementation(libs.xcryptoDep)
implementation(libs.soramitsu.android.foundation)

implementation(libs.appcompatDep)
implementation(libs.materialDep)
Expand Down
2 changes: 1 addition & 1 deletion feature_referral_impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ android {

dependencies {

implementation(project(":android-foundation"))
implementation(project(":common"))
implementation(project(":core_db"))
implementation(project(":feature_assets_api"))
Expand All @@ -98,6 +97,7 @@ dependencies {
implementation(libs.viewmodelKtxDep)

implementation(libs.uiCoreDep)
implementation(libs.soramitsu.android.foundation)
implementation(libs.navigationComposeDep)

implementation(platform(libs.compose.bom))
Expand Down
2 changes: 1 addition & 1 deletion feature_select_node_impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ android {
}

dependencies {
implementation(project(":android-foundation"))
implementation(project(":common"))
implementation(project(":feature_select_node_api"))
implementation(project(":feature_main_api"))
Expand All @@ -100,6 +99,7 @@ dependencies {
implementation(libs.navigationUiDep)

implementation(libs.xsubstrateDep)
implementation(libs.soramitsu.android.foundation)

implementation(libs.roomDep)
implementation(libs.roomKtxDep)
Expand Down
2 changes: 1 addition & 1 deletion feature_sora_card_impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ android {
}

dependencies {
implementation(project(":android-foundation"))
implementation(project(":common"))
implementation(project(":common_wallet"))
implementation(project(":demeter"))
Expand Down Expand Up @@ -106,6 +105,7 @@ dependencies {
implementation(libs.navigationUiDep)

implementation(libs.uiCoreDep)
implementation(libs.soramitsu.android.foundation)

implementation(libs.timberDep)

Expand Down
2 changes: 1 addition & 1 deletion feature_wallet_impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ android {
}

dependencies {
implementation(project(":android-foundation"))
implementation(project(":common"))
implementation(project(":common_wallet"))
implementation(project(":core_db"))
Expand All @@ -99,6 +98,7 @@ dependencies {

implementation(libs.xsubstrateDep)
implementation(libs.xcryptoDep)
implementation(libs.soramitsu.android.foundation)

implementation(libs.appcompatDep)
implementation(libs.materialDep)
Expand Down
Loading