Skip to content

Commit

Permalink
type safe project accessors
Browse files Browse the repository at this point in the history
  • Loading branch information
joreilly committed Oct 4, 2024
1 parent 871ce8f commit 5dae1fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,5 @@ dependencies {
testImplementation("org.robolectric:robolectric:4.13")
androidTestImplementation("androidx.test:runner:1.6.2")

implementation(project(":common"))
implementation(projects.common)
}
2 changes: 1 addition & 1 deletion compose-desktop/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ version = "1.0-SNAPSHOT"

dependencies {
implementation(compose.desktop.currentOs)
implementation(project(":common"))
implementation(projects.common)
}

application {
Expand Down
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ dependencyResolutionManagement {

rootProject.name = "FantasyPremierLeague"

enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
include(":app", ":common")
include("compose-desktop")

0 comments on commit 5dae1fd

Please sign in to comment.