diff --git a/build.gradle.kts b/build.gradle.kts index 1b05755..cf1bf53 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -72,9 +72,13 @@ dependencies { // We need this for the rubBlocking function testImplementation(group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version = coroutinesVersion) - // Subprojects - testImplementation(project(":eventbus")) - testImplementation(project(":lightweight")) + // Reflection library + implementation(group = "org.jetbrains.kotlin", name = "kotlin-reflect", version = kotlinVersion) { + exclude(group = "org.jetbrains.kotlin", module = "kotlin-stdlib") + } + + // Coroutine library + implementation(group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version = coroutinesVersion) } java { diff --git a/eventbus/build.gradle.kts b/eventbus/build.gradle.kts deleted file mode 100644 index 9726c67..0000000 --- a/eventbus/build.gradle.kts +++ /dev/null @@ -1,12 +0,0 @@ -val kotlinVersion: String by project -val coroutinesVersion: String by project - -dependencies { - // Reflection library - implementation(group = "org.jetbrains.kotlin", name = "kotlin-reflect", version = kotlinVersion) { - exclude(group = "org.jetbrains.kotlin", module = "kotlin-stdlib") - } - - // Coroutine library - implementation(group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version = coroutinesVersion) -} \ No newline at end of file diff --git a/settings.gradle.kts b/settings.gradle.kts index 60540f8..23ee455 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,2 +1 @@ -rootProject.name = "rush" -include("eventbus", "lightweight") \ No newline at end of file +rootProject.name = "rush" \ No newline at end of file diff --git a/eventbus/src/main/kotlin/me/austin/rush/Cancellable.kt b/src/main/kotlin/me/austin/rush/Cancellable.kt similarity index 100% rename from eventbus/src/main/kotlin/me/austin/rush/Cancellable.kt rename to src/main/kotlin/me/austin/rush/Cancellable.kt diff --git a/eventbus/src/main/kotlin/me/austin/rush/ConcurrentEventBus.kt b/src/main/kotlin/me/austin/rush/ConcurrentEventBus.kt similarity index 100% rename from eventbus/src/main/kotlin/me/austin/rush/ConcurrentEventBus.kt rename to src/main/kotlin/me/austin/rush/ConcurrentEventBus.kt diff --git a/eventbus/src/main/kotlin/me/austin/rush/FastEventBus.kt b/src/main/kotlin/me/austin/rush/FastEventBus.kt similarity index 100% rename from eventbus/src/main/kotlin/me/austin/rush/FastEventBus.kt rename to src/main/kotlin/me/austin/rush/FastEventBus.kt diff --git a/eventbus/src/main/kotlin/me/austin/rush/ListenerImpl.kt b/src/main/kotlin/me/austin/rush/ListenerImpl.kt similarity index 100% rename from eventbus/src/main/kotlin/me/austin/rush/ListenerImpl.kt rename to src/main/kotlin/me/austin/rush/ListenerImpl.kt diff --git a/eventbus/src/main/kotlin/me/austin/rush/ReflectionEventBus.kt b/src/main/kotlin/me/austin/rush/ReflectionEventBus.kt similarity index 100% rename from eventbus/src/main/kotlin/me/austin/rush/ReflectionEventBus.kt rename to src/main/kotlin/me/austin/rush/ReflectionEventBus.kt diff --git a/eventbus/src/main/kotlin/me/austin/rush/Util.kt b/src/main/kotlin/me/austin/rush/Util.kt similarity index 100% rename from eventbus/src/main/kotlin/me/austin/rush/Util.kt rename to src/main/kotlin/me/austin/rush/Util.kt