From bdbcc8898abc1f277e1de8815152037e0e53e344 Mon Sep 17 00:00:00 2001 From: Souleymane Sidibe Date: Sat, 14 Aug 2021 01:33:40 +0000 Subject: [PATCH] add timber dependency for logging update readme --- .idea/deploymentTargetDropDown.xml | 17 ----------------- README.md | 1 + app/build.gradle.kts | 2 ++ data/build.gradle | 2 ++ device/build.gradle | 2 ++ domain/build.gradle | 2 ++ 6 files changed, 9 insertions(+), 17 deletions(-) delete mode 100644 .idea/deploymentTargetDropDown.xml diff --git a/.idea/deploymentTargetDropDown.xml b/.idea/deploymentTargetDropDown.xml deleted file mode 100644 index f395088..0000000 --- a/.idea/deploymentTargetDropDown.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/README.md b/README.md index c5d52b5..907788f 100644 --- a/README.md +++ b/README.md @@ -27,4 +27,5 @@ Device module depends on Data. ## Todo * Unit tests and UI testing +* Centralize dependencies * Animation between Composables diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 64d7200..d5c6451 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -77,6 +77,8 @@ dependencies { implementation("androidx.compose.material:material-icons-extended:${compose_version}") implementation("com.google.accompanist:accompanist-systemuicontroller:0.14.0") + implementation("com.jakewharton.timber:timber:5.0.1") + implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.4.0-alpha03") // implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.3.1") implementation("androidx.activity:activity-compose:1.3.1") diff --git a/data/build.gradle b/data/build.gradle index 6dec8a4..48c9069 100644 --- a/data/build.gradle +++ b/data/build.gradle @@ -13,4 +13,6 @@ dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib:1.5.10" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.1" implementation("io.insert-koin:koin-core:3.1.2") + + implementation("com.jakewharton.timber:timber:5.0.1") } \ No newline at end of file diff --git a/device/build.gradle b/device/build.gradle index 82312ff..f0645ae 100644 --- a/device/build.gradle +++ b/device/build.gradle @@ -52,6 +52,8 @@ dependencies { implementation 'androidx.appcompat:appcompat:1.3.1' implementation 'com.google.android.material:material:1.4.0' + implementation("com.jakewharton.timber:timber:5.0.1") + def room_version = "2.3.0" implementation("androidx.room:room-runtime:$room_version") implementation("androidx.room:room-ktx:$room_version") diff --git a/domain/build.gradle b/domain/build.gradle index b8d456c..3750050 100644 --- a/domain/build.gradle +++ b/domain/build.gradle @@ -13,6 +13,8 @@ dependencies { implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.1" implementation("io.insert-koin:koin-core:3.1.2") + implementation("com.jakewharton.timber:timber:5.0.1") + testImplementation("junit:junit:4.13.2") testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.5.1") testImplementation("org.hamcrest:hamcrest-all:1.3")