From 0972afd084763bcda1b45d04e4bf9166af6454f4 Mon Sep 17 00:00:00 2001 From: jinukeu Date: Thu, 20 Jun 2024 16:24:33 +0900 Subject: [PATCH] refactor: core:common -> domain:common --- {core => domain}/common/.gitignore | 0 {core => domain}/common/build.gradle.kts | 0 .../com/suwiki/domain}/common/RunCatchingIgnoreCancelled.kt | 2 +- domain/lectureevaluation/editor/build.gradle.kts | 2 +- domain/lectureevaluation/my/build.gradle.kts | 2 +- domain/lectureevaluation/viewerreporter/build.gradle.kts | 2 +- domain/login/build.gradle.kts | 2 +- domain/notice/build.gradle.kts | 2 +- domain/openmajor/build.gradle.kts | 2 +- domain/signup/build.gradle.kts | 2 +- domain/timetable/build.gradle.kts | 2 +- domain/user/build.gradle.kts | 2 +- settings.gradle.kts | 2 +- 13 files changed, 11 insertions(+), 11 deletions(-) rename {core => domain}/common/.gitignore (100%) rename {core => domain}/common/build.gradle.kts (100%) rename {core/common/src/main/java/com/suwiki/core => domain/common/src/main/java/com/suwiki/domain}/common/RunCatchingIgnoreCancelled.kt (87%) 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")