diff --git a/buildSrc/src/main/kotlin/Dependencies.kt b/buildSrc/src/main/kotlin/Dependencies.kt index 8c634fe..9fd09cc 100644 --- a/buildSrc/src/main/kotlin/Dependencies.kt +++ b/buildSrc/src/main/kotlin/Dependencies.kt @@ -15,6 +15,9 @@ object Versions { // Lifecycle const val lifecycle = "2.2.0" + //DI-KOIN + const val koin = "3.1.2" + // Logging - debug builds const val timber = "4.7.1" const val leakCanary = "2.4" @@ -85,6 +88,9 @@ object Libraries { // Lifecycle const val lifecycle = "androidx.lifecycle:lifecycle-extensions:${Versions.lifecycle}" + //DI - KOIN + const val koin = "io.insert-koin:koin-android:${Versions.koin}" + // Debug - for debug builds only const val timber = "com.jakewharton.timber:timber:${Versions.timber}" const val leakCanary = "com.squareup.leakcanary:leakcanary-android:${Versions.leakCanary}" diff --git a/daraja/build.gradle.kts b/daraja/build.gradle.kts index 53f84f3..04d907f 100644 --- a/daraja/build.gradle.kts +++ b/daraja/build.gradle.kts @@ -75,6 +75,9 @@ dependencies { debugImplementation(Libraries.chunkerDebug) releaseImplementation(Libraries.chunkerRelease) + //DI-KOIN + implementation(Libraries.koin) + // debug implementation(Libraries.timber)