diff --git a/core/common/.gitignore b/domain/common/.gitignore similarity index 100% rename from core/common/.gitignore rename to domain/common/.gitignore diff --git a/core/common/build.gradle.kts b/domain/common/build.gradle.kts similarity index 100% rename from core/common/build.gradle.kts rename to domain/common/build.gradle.kts diff --git a/core/common/src/main/java/com/suwiki/core/common/RunCatchingIgnoreCancelled.kt b/domain/common/src/main/java/com/suwiki/domain/common/RunCatchingIgnoreCancelled.kt similarity index 87% rename from core/common/src/main/java/com/suwiki/core/common/RunCatchingIgnoreCancelled.kt rename to domain/common/src/main/java/com/suwiki/domain/common/RunCatchingIgnoreCancelled.kt index b1d95f887..684e68153 100644 --- a/core/common/src/main/java/com/suwiki/core/common/RunCatchingIgnoreCancelled.kt +++ b/domain/common/src/main/java/com/suwiki/domain/common/RunCatchingIgnoreCancelled.kt @@ -1,4 +1,4 @@ -package com.suwiki.core.common +package com.suwiki.domain.common import kotlin.coroutines.cancellation.CancellationException diff --git a/domain/lectureevaluation/editor/build.gradle.kts b/domain/lectureevaluation/editor/build.gradle.kts index a401e2cb5..1acb65dd5 100644 --- a/domain/lectureevaluation/editor/build.gradle.kts +++ b/domain/lectureevaluation/editor/build.gradle.kts @@ -6,7 +6,7 @@ plugins { dependencies { implementation(projects.core.model) - implementation(projects.core.common) + implementation(projects.domain.common) implementation(libs.kotlinx.coroutines.core) implementation(libs.hilt.core) diff --git a/domain/lectureevaluation/my/build.gradle.kts b/domain/lectureevaluation/my/build.gradle.kts index a401e2cb5..1acb65dd5 100644 --- a/domain/lectureevaluation/my/build.gradle.kts +++ b/domain/lectureevaluation/my/build.gradle.kts @@ -6,7 +6,7 @@ plugins { dependencies { implementation(projects.core.model) - implementation(projects.core.common) + implementation(projects.domain.common) implementation(libs.kotlinx.coroutines.core) implementation(libs.hilt.core) diff --git a/domain/lectureevaluation/viewerreporter/build.gradle.kts b/domain/lectureevaluation/viewerreporter/build.gradle.kts index a401e2cb5..1acb65dd5 100644 --- a/domain/lectureevaluation/viewerreporter/build.gradle.kts +++ b/domain/lectureevaluation/viewerreporter/build.gradle.kts @@ -6,7 +6,7 @@ plugins { dependencies { implementation(projects.core.model) - implementation(projects.core.common) + implementation(projects.domain.common) implementation(libs.kotlinx.coroutines.core) implementation(libs.hilt.core) diff --git a/domain/login/build.gradle.kts b/domain/login/build.gradle.kts index a401e2cb5..1acb65dd5 100644 --- a/domain/login/build.gradle.kts +++ b/domain/login/build.gradle.kts @@ -6,7 +6,7 @@ plugins { dependencies { implementation(projects.core.model) - implementation(projects.core.common) + implementation(projects.domain.common) implementation(libs.kotlinx.coroutines.core) implementation(libs.hilt.core) diff --git a/domain/notice/build.gradle.kts b/domain/notice/build.gradle.kts index a401e2cb5..1acb65dd5 100644 --- a/domain/notice/build.gradle.kts +++ b/domain/notice/build.gradle.kts @@ -6,7 +6,7 @@ plugins { dependencies { implementation(projects.core.model) - implementation(projects.core.common) + implementation(projects.domain.common) implementation(libs.kotlinx.coroutines.core) implementation(libs.hilt.core) diff --git a/domain/openmajor/build.gradle.kts b/domain/openmajor/build.gradle.kts index 961c1059f..b0b56a2d3 100644 --- a/domain/openmajor/build.gradle.kts +++ b/domain/openmajor/build.gradle.kts @@ -5,7 +5,7 @@ plugins { } dependencies { - implementation(projects.core.common) + implementation(projects.domain.common) implementation(libs.kotlinx.coroutines.core) implementation(libs.hilt.core) diff --git a/domain/signup/build.gradle.kts b/domain/signup/build.gradle.kts index 961c1059f..b0b56a2d3 100644 --- a/domain/signup/build.gradle.kts +++ b/domain/signup/build.gradle.kts @@ -5,7 +5,7 @@ plugins { } dependencies { - implementation(projects.core.common) + implementation(projects.domain.common) implementation(libs.kotlinx.coroutines.core) implementation(libs.hilt.core) diff --git a/domain/timetable/build.gradle.kts b/domain/timetable/build.gradle.kts index a401e2cb5..1acb65dd5 100644 --- a/domain/timetable/build.gradle.kts +++ b/domain/timetable/build.gradle.kts @@ -6,7 +6,7 @@ plugins { dependencies { implementation(projects.core.model) - implementation(projects.core.common) + implementation(projects.domain.common) implementation(libs.kotlinx.coroutines.core) implementation(libs.hilt.core) diff --git a/domain/user/build.gradle.kts b/domain/user/build.gradle.kts index a401e2cb5..1acb65dd5 100644 --- a/domain/user/build.gradle.kts +++ b/domain/user/build.gradle.kts @@ -6,7 +6,7 @@ plugins { dependencies { implementation(projects.core.model) - implementation(projects.core.common) + implementation(projects.domain.common) implementation(libs.kotlinx.coroutines.core) implementation(libs.hilt.core) diff --git a/settings.gradle.kts b/settings.gradle.kts index 265222fe5..02ac1ab98 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -23,7 +23,6 @@ include(":app-compose") include(":core:android") include(":core:model") -include(":core:common") include(":core:security") include(":core:designsystem") include(":core:ui") @@ -75,3 +74,4 @@ include(":feature:signup") include(":feature:login") include(":local:common") include(":remote:common") +include(":domain:common")