From a2e2c041428cf0fd518d604b6a374c36a43ce1fe Mon Sep 17 00:00:00 2001 From: Shinokuni Date: Tue, 6 Aug 2024 16:50:22 +0200 Subject: [PATCH] Fix CI --- api/build.gradle.kts | 5 ++++- db/build.gradle.kts | 5 ++++- {app => db}/src/test/java/com/readrops/app/DateUtilsTest.kt | 0 3 files changed, 8 insertions(+), 2 deletions(-) rename {app => db}/src/test/java/com/readrops/app/DateUtilsTest.kt (100%) diff --git a/api/build.gradle.kts b/api/build.gradle.kts index 8381c420..fd23d204 100644 --- a/api/build.gradle.kts +++ b/api/build.gradle.kts @@ -33,7 +33,10 @@ dependencies { implementation(platform(libs.koin.bom)) implementation(libs.bundles.koin) - androidTestImplementation(libs.bundles.kointest) + //testImplementation(libs.bundles.kointest) + // I don't know why but those dependencies are unreachable when accessed directly from version catalog + testImplementation("io.insert-koin:koin-test:${libs.versions.koin.bom.get()}") + testImplementation("io.insert-koin:koin-test-junit4:${libs.versions.koin.bom.get()}") implementation(libs.konsumexml) implementation(libs.kotlinxmlbuilder) diff --git a/db/build.gradle.kts b/db/build.gradle.kts index 630b66f2..429a6161 100644 --- a/db/build.gradle.kts +++ b/db/build.gradle.kts @@ -44,7 +44,10 @@ dependencies { implementation(platform(libs.koin.bom)) implementation(libs.bundles.koin) - androidTestImplementation(libs.bundles.kointest) + //androidTestImplementation(libs.bundles.kointest) + // I don't know why but those dependencies are unreachable when accessed directly from version catalog + androidTestImplementation("io.insert-koin:koin-test:${libs.versions.koin.bom.get()}") + androidTestImplementation("io.insert-koin:koin-test-junit4:${libs.versions.koin.bom.get()}") implementation(libs.bundles.coroutines) androidTestImplementation(libs.coroutines.test) diff --git a/app/src/test/java/com/readrops/app/DateUtilsTest.kt b/db/src/test/java/com/readrops/app/DateUtilsTest.kt similarity index 100% rename from app/src/test/java/com/readrops/app/DateUtilsTest.kt rename to db/src/test/java/com/readrops/app/DateUtilsTest.kt