diff --git a/README.md b/README.md index 8373dbb..48c55d7 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Add the following dependency to your `build.gradle` file: ```kotlin dependencies { - implementation("com.sean8:hiltcoroutines:0.0.7") + implementation("com.sean8.core:hilt-coroutines:1.0.0") } ``` diff --git a/hiltcoroutines/build.gradle.kts b/hiltcoroutines/build.gradle.kts index 55325d9..cee209f 100644 --- a/hiltcoroutines/build.gradle.kts +++ b/hiltcoroutines/build.gradle.kts @@ -6,7 +6,7 @@ plugins { } android { - namespace = "com.sean8.hiltcoroutines" + namespace = "com.sean8.core.hiltcoroutines" compileSdk = 34 defaultConfig { @@ -30,7 +30,7 @@ android { } mavenPublishing { - coordinates("com.sean8", "hiltcoroutines", "0.0.7") + coordinates("com.sean8.core", "hilt-coroutines", "1.0.0") pom { name.set("HiltCoroutines") diff --git a/hiltcoroutines/src/main/kotlin/com/sean8/hiltcoroutines/AppDispatchers.kt b/hiltcoroutines/src/main/kotlin/com/sean8/core/hiltcoroutines/AppDispatchers.kt similarity index 95% rename from hiltcoroutines/src/main/kotlin/com/sean8/hiltcoroutines/AppDispatchers.kt rename to hiltcoroutines/src/main/kotlin/com/sean8/core/hiltcoroutines/AppDispatchers.kt index 8fad57a..382f1f4 100644 --- a/hiltcoroutines/src/main/kotlin/com/sean8/hiltcoroutines/AppDispatchers.kt +++ b/hiltcoroutines/src/main/kotlin/com/sean8/core/hiltcoroutines/AppDispatchers.kt @@ -1,4 +1,4 @@ -package com.sean8.hiltcoroutines +package com.sean8.core.hiltcoroutines import javax.inject.Qualifier import kotlin.annotation.AnnotationRetention.RUNTIME diff --git a/hiltcoroutines/src/main/kotlin/com/sean8/hiltcoroutines/di/CoroutineScopesModule.kt b/hiltcoroutines/src/main/kotlin/com/sean8/core/hiltcoroutines/di/CoroutineScopesModule.kt similarity index 96% rename from hiltcoroutines/src/main/kotlin/com/sean8/hiltcoroutines/di/CoroutineScopesModule.kt rename to hiltcoroutines/src/main/kotlin/com/sean8/core/hiltcoroutines/di/CoroutineScopesModule.kt index bd51d2d..4b9b549 100644 --- a/hiltcoroutines/src/main/kotlin/com/sean8/hiltcoroutines/di/CoroutineScopesModule.kt +++ b/hiltcoroutines/src/main/kotlin/com/sean8/core/hiltcoroutines/di/CoroutineScopesModule.kt @@ -1,7 +1,7 @@ -package com.sean8.hiltcoroutines.di +package com.sean8.core.hiltcoroutines.di -import com.sean8.hiltcoroutines.AppDispatchers -import com.sean8.hiltcoroutines.Dispatcher +import com.sean8.core.hiltcoroutines.AppDispatchers +import com.sean8.core.hiltcoroutines.Dispatcher import dagger.Module import dagger.Provides import dagger.hilt.InstallIn diff --git a/hiltcoroutines/src/main/kotlin/com/sean8/hiltcoroutines/di/DispatchersModule.kt b/hiltcoroutines/src/main/kotlin/com/sean8/core/hiltcoroutines/di/DispatchersModule.kt similarity index 91% rename from hiltcoroutines/src/main/kotlin/com/sean8/hiltcoroutines/di/DispatchersModule.kt rename to hiltcoroutines/src/main/kotlin/com/sean8/core/hiltcoroutines/di/DispatchersModule.kt index c4b001b..424c9b8 100644 --- a/hiltcoroutines/src/main/kotlin/com/sean8/hiltcoroutines/di/DispatchersModule.kt +++ b/hiltcoroutines/src/main/kotlin/com/sean8/core/hiltcoroutines/di/DispatchersModule.kt @@ -1,7 +1,7 @@ -package com.sean8.hiltcoroutines.di +package com.sean8.core.hiltcoroutines.di -import com.sean8.hiltcoroutines.AppDispatchers -import com.sean8.hiltcoroutines.Dispatcher +import com.sean8.core.hiltcoroutines.AppDispatchers +import com.sean8.core.hiltcoroutines.Dispatcher import dagger.Module import dagger.Provides import dagger.hilt.InstallIn diff --git a/hiltcoroutines/src/test/java/com/sean8/hiltcoroutines/di/CoroutineScopesModuleTest.kt b/hiltcoroutines/src/test/java/com/sean8/core/hiltcoroutines/di/CoroutineScopesModuleTest.kt similarity index 84% rename from hiltcoroutines/src/test/java/com/sean8/hiltcoroutines/di/CoroutineScopesModuleTest.kt rename to hiltcoroutines/src/test/java/com/sean8/core/hiltcoroutines/di/CoroutineScopesModuleTest.kt index edcd726..6682e57 100644 --- a/hiltcoroutines/src/test/java/com/sean8/hiltcoroutines/di/CoroutineScopesModuleTest.kt +++ b/hiltcoroutines/src/test/java/com/sean8/core/hiltcoroutines/di/CoroutineScopesModuleTest.kt @@ -1,7 +1,11 @@ -package com.sean8.hiltcoroutines.di +package com.sean8.core.hiltcoroutines.di -import com.sean8.hiltcoroutines.AppDispatchers -import com.sean8.hiltcoroutines.Dispatcher +import com.sean8.core.hiltcoroutines.AppDispatchers +import com.sean8.core.hiltcoroutines.Dispatcher +import com.sean8.core.hiltcoroutines.di.ApplicationScope +import com.sean8.core.hiltcoroutines.di.IOScope +import com.sean8.core.hiltcoroutines.di.MainScope +import com.sean8.core.hiltcoroutines.di.StrictScope import dagger.hilt.android.testing.HiltAndroidRule import dagger.hilt.android.testing.HiltAndroidTest import dagger.hilt.android.testing.HiltTestApplication diff --git a/hiltcoroutines/src/test/java/com/sean8/hiltcoroutines/di/DispatchersModuleTest.kt b/hiltcoroutines/src/test/java/com/sean8/core/hiltcoroutines/di/DispatchersModuleTest.kt similarity index 90% rename from hiltcoroutines/src/test/java/com/sean8/hiltcoroutines/di/DispatchersModuleTest.kt rename to hiltcoroutines/src/test/java/com/sean8/core/hiltcoroutines/di/DispatchersModuleTest.kt index 3135e75..6784b28 100644 --- a/hiltcoroutines/src/test/java/com/sean8/hiltcoroutines/di/DispatchersModuleTest.kt +++ b/hiltcoroutines/src/test/java/com/sean8/core/hiltcoroutines/di/DispatchersModuleTest.kt @@ -1,7 +1,7 @@ -package com.sean8.hiltcoroutines.di +package com.sean8.core.hiltcoroutines.di -import com.sean8.hiltcoroutines.AppDispatchers -import com.sean8.hiltcoroutines.Dispatcher +import com.sean8.core.hiltcoroutines.AppDispatchers +import com.sean8.core.hiltcoroutines.Dispatcher import dagger.hilt.android.testing.HiltAndroidRule import dagger.hilt.android.testing.HiltAndroidTest import dagger.hilt.android.testing.HiltTestApplication