diff --git a/README.md b/README.md index 9ccb465..f27b23c 100644 --- a/README.md +++ b/README.md @@ -18,20 +18,20 @@ Simple DI is available on Maven Central. Add the dependency to your project: **Gradle Kotlin** ```kt -implementation("moe.zodiia:simple-di:") +implementation("dev.zodiia:simple-di:") ``` **Gradle Groovy** ```groovy -implementation 'moe.zodiia:simple-di:' +implementation 'dev.zodiia:simple-di:' ``` **Maven** ```xml - moe.zodiia + dev.zodiia simple-di latest version @@ -42,7 +42,7 @@ implementation 'moe.zodiia:simple-di:' To start injecting classes, simply use delegated properties with the `injection` method: ```kt -import moe.zodiia.simpledi.injection +import dev.zodiia.simpledi.injection class Foo { fun doSomething() { diff --git a/build.gradle.kts b/build.gradle.kts index 4791188..29f7fc6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ plugins { signing } -group = "moe.zodiia" +group = "dev.zodiia" version = "1.0.0" description = "Simple dependency injection library for Kotlin (JVM)" @@ -66,10 +66,10 @@ publishing { developers { developer { name.set("Manon Grivot") - email.set("hey@zodiia.moe") - url.set("https://zodiia.moe") + email.set("hey@manongrivot.me") + url.set("https://manongrivot.me") organization.set("Zodiia") - organizationUrl.set("https://zodiia.moe") + organizationUrl.set("https://zodiia.dev") } } } diff --git a/src/main/kotlin/moe/zodiia/simpledi/ComponentMap.kt b/src/main/kotlin/dev/zodiia/simpledi/ComponentMap.kt similarity index 97% rename from src/main/kotlin/moe/zodiia/simpledi/ComponentMap.kt rename to src/main/kotlin/dev/zodiia/simpledi/ComponentMap.kt index 559e2f5..8e50256 100644 --- a/src/main/kotlin/moe/zodiia/simpledi/ComponentMap.kt +++ b/src/main/kotlin/dev/zodiia/simpledi/ComponentMap.kt @@ -1,7 +1,7 @@ -package moe.zodiia.simpledi +package dev.zodiia.simpledi -import moe.zodiia.simpledi.providers.GlobalProvider -import moe.zodiia.simpledi.providers.InstanceProvider +import dev.zodiia.simpledi.providers.GlobalProvider +import dev.zodiia.simpledi.providers.InstanceProvider import kotlin.properties.ReadOnlyProperty import kotlin.reflect.KClass import kotlin.reflect.KParameter diff --git a/src/main/kotlin/moe/zodiia/simpledi/InjectableInstance.kt b/src/main/kotlin/dev/zodiia/simpledi/InjectableInstance.kt similarity index 84% rename from src/main/kotlin/moe/zodiia/simpledi/InjectableInstance.kt rename to src/main/kotlin/dev/zodiia/simpledi/InjectableInstance.kt index e9cdefb..74a4772 100644 --- a/src/main/kotlin/moe/zodiia/simpledi/InjectableInstance.kt +++ b/src/main/kotlin/dev/zodiia/simpledi/InjectableInstance.kt @@ -1,4 +1,4 @@ -package moe.zodiia.simpledi +package dev.zodiia.simpledi import kotlin.reflect.KType diff --git a/src/main/kotlin/moe/zodiia/simpledi/InjectionScope.kt b/src/main/kotlin/dev/zodiia/simpledi/InjectionScope.kt similarity index 97% rename from src/main/kotlin/moe/zodiia/simpledi/InjectionScope.kt rename to src/main/kotlin/dev/zodiia/simpledi/InjectionScope.kt index a406374..79372bb 100644 --- a/src/main/kotlin/moe/zodiia/simpledi/InjectionScope.kt +++ b/src/main/kotlin/dev/zodiia/simpledi/InjectionScope.kt @@ -1,4 +1,4 @@ -package moe.zodiia.simpledi +package dev.zodiia.simpledi /** * Defines the scope of the injected instance, where it will be shared with other classes. diff --git a/src/main/kotlin/moe/zodiia/simpledi/providers/GlobalProvider.kt b/src/main/kotlin/dev/zodiia/simpledi/providers/GlobalProvider.kt similarity index 91% rename from src/main/kotlin/moe/zodiia/simpledi/providers/GlobalProvider.kt rename to src/main/kotlin/dev/zodiia/simpledi/providers/GlobalProvider.kt index 83eea18..ca5461b 100644 --- a/src/main/kotlin/moe/zodiia/simpledi/providers/GlobalProvider.kt +++ b/src/main/kotlin/dev/zodiia/simpledi/providers/GlobalProvider.kt @@ -1,7 +1,7 @@ -package moe.zodiia.simpledi.providers +package dev.zodiia.simpledi.providers -import moe.zodiia.simpledi.ComponentMap -import moe.zodiia.simpledi.InjectionScope +import dev.zodiia.simpledi.ComponentMap +import dev.zodiia.simpledi.InjectionScope import kotlin.properties.ReadOnlyProperty import kotlin.reflect.KProperty import kotlin.reflect.KType diff --git a/src/main/kotlin/moe/zodiia/simpledi/providers/InstanceProvider.kt b/src/main/kotlin/dev/zodiia/simpledi/providers/InstanceProvider.kt similarity index 86% rename from src/main/kotlin/moe/zodiia/simpledi/providers/InstanceProvider.kt rename to src/main/kotlin/dev/zodiia/simpledi/providers/InstanceProvider.kt index 0d55baa..ecbba00 100644 --- a/src/main/kotlin/moe/zodiia/simpledi/providers/InstanceProvider.kt +++ b/src/main/kotlin/dev/zodiia/simpledi/providers/InstanceProvider.kt @@ -1,7 +1,7 @@ -package moe.zodiia.simpledi.providers +package dev.zodiia.simpledi.providers -import moe.zodiia.simpledi.ComponentMap -import moe.zodiia.simpledi.InjectionScope +import dev.zodiia.simpledi.ComponentMap +import dev.zodiia.simpledi.InjectionScope import kotlin.properties.ReadOnlyProperty import kotlin.reflect.KProperty import kotlin.reflect.KType diff --git a/src/test/kotlin/moe/zodiia/simpledi/ComponentMapTest.kt b/src/test/kotlin/dev/zodiia/simpledi/ComponentMapTest.kt similarity index 99% rename from src/test/kotlin/moe/zodiia/simpledi/ComponentMapTest.kt rename to src/test/kotlin/dev/zodiia/simpledi/ComponentMapTest.kt index b08b6d0..c539b48 100644 --- a/src/test/kotlin/moe/zodiia/simpledi/ComponentMapTest.kt +++ b/src/test/kotlin/dev/zodiia/simpledi/ComponentMapTest.kt @@ -1,4 +1,4 @@ -package moe.zodiia.simpledi +package dev.zodiia.simpledi import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.Test