From b4d35c1c12120503e74d7ae99edd94302673acf6 Mon Sep 17 00:00:00 2001 From: Guillaume Jacquart Date: Thu, 28 Jul 2022 06:04:22 +0000 Subject: #5444 Fix CPU consumption - remove flow-mvi dependency --- app/build.gradle | 38 ++++++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 12 deletions(-) (limited to 'app/build.gradle') diff --git a/app/build.gradle b/app/build.gradle index 23d6ecd..5f2b302 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -45,7 +45,7 @@ android { productFlavors { e29 { dimension 'os' - minSdkVersion 26 + minSdkVersion 29 targetSdkVersion 29 } e30 { @@ -103,7 +103,7 @@ android { } dependencies { - implementation 'androidx.work:work-runtime-ktx:2.5.0' + compileOnly files('libs/e-ui-sdk-1.0.1-q.jar') implementation files('libs/lineage-sdk.jar') // include the google specific version of the modules, just for the google flavor @@ -116,21 +116,35 @@ dependencies { e30Implementation 'foundation.e:privacymodule.e-30:0.4.3' implementation 'foundation.e:privacymodule.tor:0.2.4' - implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0' + + + // implementation Libs.Kotlin.stdlib + implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$Versions.kotlin" +// implementation Libs.AndroidX.coreKtx + implementation "androidx.core:core-ktx:1.8.0" + +// implementation Libs.AndroidX.Fragment.fragmentKtx + implementation "androidx.fragment:fragment-ktx:$Versions.fragment" + + implementation 'androidx.appcompat:appcompat:1.4.2' +// implementation Libs.AndroidX.Lifecycle.runtime + implementation "androidx.lifecycle:lifecycle-runtime-ktx:$Versions.lifecycle" +// implementation Libs.AndroidX.Lifecycle.viewmodel + implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$Versions.lifecycle" + + implementation 'androidx.work:work-runtime-ktx:2.7.1' + + implementation 'com.google.android.material:material:1.6.1' + implementation 'com.squareup.retrofit2:retrofit:2.9.0' implementation 'com.squareup.retrofit2:converter-scalars:2.9.0' - implementation project(":flow-mvi") - implementation Libs.Kotlin.stdlib - implementation Libs.AndroidX.coreKtx - implementation Libs.AndroidX.Fragment.fragmentKtx - implementation 'androidx.appcompat:appcompat:1.2.0' - implementation Libs.AndroidX.Lifecycle.runtime - implementation Libs.AndroidX.Lifecycle.viewmodel +// implementation Libs.MapBox.sdk + implementation "com.mapbox.mapboxsdk:mapbox-android-sdk:$Versions.mapbox" + implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0' + - implementation Libs.MapBox.sdk - implementation 'com.google.android.material:material:1.4.0-beta01' testImplementation 'junit:junit:4.+' androidTestImplementation 'androidx.test.ext:junit:1.1.2' -- cgit v1.2.1