Skip to content

Commit

Permalink
Use typesafe project accessors for projects
Browse files Browse the repository at this point in the history
  • Loading branch information
MiSikora committed Nov 12, 2021
1 parent b95fe77 commit 58475d9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion library/ruler-android-startup/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

dependencies {
api project(':library:ruler-android')
api projects.library.rulerAndroid
implementation deps.android.x.startupRuntime
}

Expand Down
2 changes: 1 addition & 1 deletion library/ruler-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ android {
}

dependencies {
api project(':library:ruler')
api projects.library.ruler

androidTestUtil deps.android.x.test.orchestrator
androidTestImplementation deps.android.x.test.junitKtx
Expand Down
2 changes: 1 addition & 1 deletion sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ android {

dependencies {
implementation deps.android.material
implementation project(":library:ruler-android-startup")
implementation projects.library.rulerAndroidStartup
}
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ include(
)

enableFeaturePreview("VERSION_CATALOGS")
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")

dependencyResolutionManagement {
defaultLibrariesExtensionName.set("deps")
Expand Down

0 comments on commit 58475d9

Please sign in to comment.