Skip to content

Commit

Permalink
Ignore false warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MGaetan89 committed Feb 23, 2024
1 parent 68a7740 commit 1246f3c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,20 @@ dependencyAnalysis {
}
}

project(":pillarbox-demo") {
onUnusedDependencies {
// This dependency is not used directly, but required to have previews in Android Studio
exclude(libs.androidx.compose.ui.tooling.asProvider())
}
}

project(":pillarbox-demo-tv") {
onUnusedDependencies {
// This dependency is not used directly, but required to have previews in Android Studio
exclude(libs.androidx.compose.ui.tooling.asProvider())
}
}

project(":pillarbox-player") {
onUnusedDependencies {
// These dependencies are not used directly, but automatically used by libs.androidx.media3.exoplayer
Expand All @@ -109,5 +123,12 @@ dependencyAnalysis {
exclude(libs.mockk.android)
}
}

project(":pillarbox-ui") {
onUnusedDependencies {
// This dependency is not used directly, but required to have previews in Android Studio
exclude(libs.androidx.compose.ui.tooling.asProvider())
}
}
}
}

0 comments on commit 1246f3c

Please sign in to comment.