Skip to content

Commit

Permalink
Enable Gradle feature TYPESAFE_PROJECT_ACCESSORS
Browse files Browse the repository at this point in the history
  • Loading branch information
serbelga committed Mar 28, 2024
1 parent 6deac19 commit c7a492c
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 @@ -76,8 +76,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 @@ -20,3 +20,5 @@ dependencyResolutionManagement {
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 @@ -70,7 +70,7 @@ kotlin {

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

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

0 comments on commit c7a492c

Please sign in to comment.