Skip to content

Commit

Permalink
Merge pull request #8 from teogor/feature/enable-typesafe-project-acc…
Browse files Browse the repository at this point in the history
…essors

Enable Type-Safe Project Accessors for Project References
  • Loading branch information
teogor authored Aug 28, 2024
2 parents c657e2e + ca79d17 commit e2a26da
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

rootProject.name = "Xenoglot"

enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")

pluginManagement {
repositories {
google {
Expand Down
4 changes: 2 additions & 2 deletions xenoglot-atlas-extended/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ kotlin {
implementation(libs.jetbrains.kotlinx.serialization.core)
implementation(libs.jetbrains.kotlinx.serialization.json)

api(project(":xenoglot-atlas"))
api(project(":xenoglot-core"))
api(projects.xenoglotAtlas)
api(projects.xenoglotCore)
}
}
val commonTest by getting {
Expand Down
2 changes: 1 addition & 1 deletion xenoglot-atlas/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ kotlin {
implementation(libs.jetbrains.kotlinx.serialization.core)
implementation(libs.jetbrains.kotlinx.serialization.json)

api(project(":xenoglot-core"))
api(projects.xenoglotCore)
}
}
val commonTest by getting {
Expand Down
6 changes: 3 additions & 3 deletions xenoglot-locale/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ kotlin {
implementation(libs.jetbrains.kotlinx.serialization.core)
implementation(libs.jetbrains.kotlinx.serialization.json)

api(project(":xenoglot-atlas"))
api(project(":xenoglot-atlas-extended"))
api(project(":xenoglot-core"))
api(projects.xenoglotAtlas)
api(projects.xenoglotAtlasExtended)
api(projects.xenoglotCore)
}
}
val commonTest by getting {
Expand Down

0 comments on commit e2a26da

Please sign in to comment.