Skip to content

Commit

Permalink
Enable Gradle feature TYPESAFE_PROJECT_ACCESSORS (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
serbelga authored Dec 12, 2024
1 parent c17ab03 commit ca27b2e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ kotlin {
}

dependencies {
implementation(project(":shared"))
implementation(project(":shared-ui"))
implementation(projects.shared)
implementation(projects.sharedUi)

implementation(libs.androidx.core.splashscreen)
implementation(libs.koin.core)
Expand Down
8 changes: 4 additions & 4 deletions ios/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ kotlin {
implementation(compose.material)
implementation(compose.runtime)

api(project(":shared"))
api(project(":shared-ui"))
api(projects.shared)
api(projects.sharedUi)
api(libs.kermit)
api(libs.kermit.simple)
api(libs.hyperdrive.multiplatformx.api)
Expand Down Expand Up @@ -61,8 +61,8 @@ kotlin {
export(libs.kermit)
export(libs.kermit.simple)
export(libs.hyperdrive.multiplatformx.api)
export(project(":shared"))
export(project(":shared-ui"))
export(projects.shared)
export(projects.sharedUi)
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ plugins {
include(":shared", ":shared-ui", ":android", ":ios")

rootProject.name = "Droidcon"

enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
2 changes: 1 addition & 1 deletion shared-ui/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ kotlin {

sourceSets {
commonMain.dependencies {
implementation(project(":shared"))
implementation(projects.shared)

api(libs.kermit)
api(libs.kermit.crashlytics)
Expand Down

0 comments on commit ca27b2e

Please sign in to comment.