diff --git a/app/build.gradle b/app/build.gradle index dd21fc8..5624f66 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -89,5 +89,5 @@ dependencies { implementation Dependencies.mavenCentral.matrixOlm implementation Dependencies.mavenCentral.kotlinSerializationJson - debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.9.1' + debugImplementation Dependencies.mavenCentral.leakCanary } diff --git a/core/build.gradle b/core/build.gradle index 3d5eb4a..23fca28 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -7,6 +7,6 @@ dependencies { implementation Dependencies.mavenCentral.kotlinCoroutinesCore testFixturesImplementation Dependencies.mavenCentral.kotlinCoroutinesCore testFixturesImplementation Dependencies.mavenCentral.kluent - testFixturesImplementation 'io.mockk:mockk:1.12.3' - testFixturesImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.1' + testFixturesImplementation Dependencies.mavenCentral.mockk + testFixturesImplementation Dependencies.mavenCentral.kotlinCoroutinesTest } \ No newline at end of file diff --git a/dependencies.gradle b/dependencies.gradle index 91afdff..7844eff 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -111,20 +111,27 @@ ext.Dependencies.with { kotlinSerializationGradlePlugin = "org.jetbrains.kotlin:kotlin-serialization:${kotlinVer}" kotlinSerializationJson = "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2" kotlinCoroutinesCore = "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1" + kotlinCoroutinesTest = 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.1' kotlinTest = "org.jetbrains.kotlin:kotlin-test-junit:${kotlinVer}" sqldelightGradlePlugin = "com.squareup.sqldelight:gradle-plugin:${sqldelightVer}" sqldelightAndroid = "com.squareup.sqldelight:android-driver:${sqldelightVer}" sqldelightInMemory = "com.squareup.sqldelight:sqlite-driver:${sqldelightVer}" + leakCanary = 'com.squareup.leakcanary:leakcanary-android:2.9.1' + ktorAndroid = "io.ktor:ktor-client-android:${ktorVer}" ktorCore = "io.ktor:ktor-client-core:${ktorVer}" ktorSerialization = "io.ktor:ktor-client-serialization:${ktorVer}" ktorLogging = "io.ktor:ktor-client-logging-jvm:${ktorVer}" ktorJava = "io.ktor:ktor-client-java:${ktorVer}" + coil = "io.coil-kt:coil-compose:1.4.0" + accompanistSystemuicontroller = "com.google.accompanist:accompanist-systemuicontroller:0.24.7-alpha" + junit = "junit:junit:4.13.2" kluent = "org.amshove.kluent:kluent:1.68" + mockk = 'io.mockk:mockk:1.12.3' matrixOlm = "org.matrix.android:olm-sdk:3.2.10" } diff --git a/design-library/build.gradle b/design-library/build.gradle index 307885a..aa3a0d4 100644 --- a/design-library/build.gradle +++ b/design-library/build.gradle @@ -2,6 +2,6 @@ applyAndroidLibraryModule(project) dependencies { implementation project(":core") - implementation("io.coil-kt:coil-compose:1.4.0") - implementation "com.google.accompanist:accompanist-systemuicontroller:0.24.7-alpha" + implementation Dependencies.mavenCentral.coil + implementation Dependencies.mavenCentral.accompanistSystemuicontroller } \ No newline at end of file diff --git a/domains/android/imageloader/build.gradle b/domains/android/imageloader/build.gradle index 3ed97a3..45821be 100644 --- a/domains/android/imageloader/build.gradle +++ b/domains/android/imageloader/build.gradle @@ -2,5 +2,5 @@ applyAndroidLibraryModule(project) dependencies { implementation project(":core") - implementation "io.coil-kt:coil:1.4.0" + implementation Dependencies.mavenCentral.coil } diff --git a/domains/android/viewmodel/build.gradle b/domains/android/viewmodel/build.gradle index c5d7d0e..c3cce48 100644 --- a/domains/android/viewmodel/build.gradle +++ b/domains/android/viewmodel/build.gradle @@ -9,7 +9,7 @@ dependencies { kotlinFixtures(it) testFixturesImplementation Dependencies.mavenCentral.kotlinCoroutinesCore - testFixturesImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.1' + testFixturesImplementation Dependencies.mavenCentral.kotlinCoroutinesTest testFixturesImplementation testFixtures(project(":core")) testFixturesCompileOnly project(":domains:android:viewmodel-stub") } \ No newline at end of file diff --git a/features/directory/build.gradle b/features/directory/build.gradle index 2ff001a..f51aaab 100644 --- a/features/directory/build.gradle +++ b/features/directory/build.gradle @@ -9,7 +9,7 @@ dependencies { implementation project(":features:messenger") implementation project(":core") implementation project(":design-library") - implementation("io.coil-kt:coil-compose:1.4.0") + implementation Dependencies.mavenCentral.coil kotlinTest(it) diff --git a/features/messenger/build.gradle b/features/messenger/build.gradle index 963f5c4..21b929f 100644 --- a/features/messenger/build.gradle +++ b/features/messenger/build.gradle @@ -10,7 +10,7 @@ dependencies { implementation project(":core") implementation project(":features:navigator") implementation project(":design-library") - implementation("io.coil-kt:coil-compose:1.4.0") + implementation Dependencies.mavenCentral.coil kotlinTest(it)