Skip to content

Commit

Permalink
Configure dependencyAnalysis for all projects
Browse files Browse the repository at this point in the history
  • Loading branch information
KovalevAndrey committed Apr 15, 2024
1 parent ee46d03 commit e8b4571
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,37 @@ dependencyAnalysis {
// Needed for compose '@Preview'. The annotation is actually within
// androidx.compose.ui:ui-tooling-preview, hence the need to exclude.
"androidx.compose.ui:ui-tooling",
"androidx.test.ext:junit",

// This is used to add the testing activity to the debug manifest
// However since not code is referenced, it is raised as unused.
":libraries:testing-ui-activity"
":libraries:testing-ui-activity",
":libraries:testing-ui"
)
}
onRuntimeOnly {
exclude("org.jetbrains.kotlinx:kotlinx-coroutines-android")
}
}
project(":libraries:interop-ribs") {
onAny {
severity("ignore")
}
}
project(":samples:app") {
onAny {
severity("ignore")
}
}
project(":samples:navigation-compose") {
onAny {
severity("ignore")
}
}
project(":samples:sandbox") {
onAny {
severity("ignore")
}
}
project(":libraries:testing-junit4") {
onUnusedDependencies {
Expand Down

0 comments on commit e8b4571

Please sign in to comment.