diff --git a/eventstore/build.gradle.kts b/eventstore/build.gradle.kts index 49f47e7..694e9e3 100644 --- a/eventstore/build.gradle.kts +++ b/eventstore/build.gradle.kts @@ -1,7 +1,7 @@ plugins { id("org.jetbrains.kotlin.plugin.serialization") } dependencies { - implementation(project(":time")) + implementation(projects.time) implementation(libraries.eventStore.client) implementation(libraries.kodein.di) diff --git a/eventstore/mongodb-models/build.gradle.kts b/eventstore/mongodb-models/build.gradle.kts index fde001c..96da443 100644 --- a/eventstore/mongodb-models/build.gradle.kts +++ b/eventstore/mongodb-models/build.gradle.kts @@ -1,4 +1,4 @@ dependencies { - implementation(project(":eventstore")) - implementation(project(":mongodb")) + implementation(projects.eventstore) + implementation(projects.mongodb) } diff --git a/server/build.gradle.kts b/server/build.gradle.kts index 87c5a66..51043c1 100644 --- a/server/build.gradle.kts +++ b/server/build.gradle.kts @@ -1,10 +1,10 @@ dependencies { - implementation(project(":configuration")) - implementation(project(":eventstore")) - implementation(project(":http")) - implementation(project(":mongodb")) - implementation(project(":rabbitmq")) - implementation(project(":time")) + implementation(projects.configuration) + implementation(projects.eventstore) + implementation(projects.http) + implementation(projects.mongodb) + implementation(projects.rabbitmq) + implementation(projects.time) implementation(libraries.kodein.di) implementation(libraries.kodein.di.framework.ktor.server) diff --git a/settings.gradle.kts b/settings.gradle.kts index e293ac5..5dd3a14 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,5 +1,7 @@ rootProject.name = "common" +enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") + include(":configuration") include(":data") include(":eventstore")