Skip to content

Commit e2a26da

Browse files
authored
Merge pull request #8 from teogor/feature/enable-typesafe-project-accessors
Enable Type-Safe Project Accessors for Project References
2 parents c657e2e + ca79d17 commit e2a26da

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

settings.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
rootProject.name = "Xenoglot"
44

5+
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
6+
57
pluginManagement {
68
repositories {
79
google {

xenoglot-atlas-extended/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ kotlin {
8787
implementation(libs.jetbrains.kotlinx.serialization.core)
8888
implementation(libs.jetbrains.kotlinx.serialization.json)
8989

90-
api(project(":xenoglot-atlas"))
91-
api(project(":xenoglot-core"))
90+
api(projects.xenoglotAtlas)
91+
api(projects.xenoglotCore)
9292
}
9393
}
9494
val commonTest by getting {

xenoglot-atlas/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ kotlin {
8787
implementation(libs.jetbrains.kotlinx.serialization.core)
8888
implementation(libs.jetbrains.kotlinx.serialization.json)
8989

90-
api(project(":xenoglot-core"))
90+
api(projects.xenoglotCore)
9191
}
9292
}
9393
val commonTest by getting {

xenoglot-locale/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ kotlin {
8787
implementation(libs.jetbrains.kotlinx.serialization.core)
8888
implementation(libs.jetbrains.kotlinx.serialization.json)
8989

90-
api(project(":xenoglot-atlas"))
91-
api(project(":xenoglot-atlas-extended"))
92-
api(project(":xenoglot-core"))
90+
api(projects.xenoglotAtlas)
91+
api(projects.xenoglotAtlasExtended)
92+
api(projects.xenoglotCore)
9393
}
9494
}
9595
val commonTest by getting {

0 commit comments

Comments
 (0)