Skip to content

Commit

Permalink
Ensure Navigation KTX artifacts include transitive KTX
Browse files Browse the repository at this point in the history
Even though the -ktx artifacts of Navigation are now
empty, apps that still depend on one of the -ktx
artifacts should still automatically update the
transitive -ktx artifacts as before.

Test: ./gradlew bOS
Change-Id: Iaf419287c948ca89aae055819b9f391d4dd04fa7
  • Loading branch information
ianhanniballake committed Jun 10, 2021
1 parent a2adbef commit 4414fe9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions navigation/navigation-fragment-ktx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ plugins {

dependencies {
api(project(":navigation:navigation-fragment"))
api(project(":navigation:navigation-runtime-ktx")) {
because 'Mirror navigation-fragment dependency graph for -ktx artifacts'
}
}

androidx {
Expand Down
3 changes: 3 additions & 0 deletions navigation/navigation-runtime-ktx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ plugins {

dependencies {
api(project(":navigation:navigation-runtime"))
api(project(":navigation:navigation-common-ktx")) {
because 'Mirror navigation-runtime dependency graph for -ktx artifacts'
}
}

androidx {
Expand Down
3 changes: 3 additions & 0 deletions navigation/navigation-ui-ktx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ plugins {

dependencies {
api(project(":navigation:navigation-ui"))
api(project(":navigation:navigation-runtime-ktx")) {
because 'Mirror navigation-ui dependency graph for -ktx artifacts'
}
}

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

dependencies {
api(project(":navigation:navigation-runtime-ktx"))
api(project(":navigation:navigation-runtime"))
api("androidx.customview:customview:1.1.0")
api("androidx.drawerlayout:drawerlayout:1.1.1")
api("com.google.android.material:material:1.4.0-beta01")
Expand Down

0 comments on commit 4414fe9

Please sign in to comment.