Skip to content

Commit cccd4ed

Browse files
committed
Exclude androidx.paging.runtime from unused dependency check
Adds a `dependencyAnalysis` rule to `fluxc-tests` to exclude `androidx.paging.runtime`.
1 parent 93876ec commit cccd4ed

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

libs/fluxc-tests/build.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,12 @@ dependencies {
5050
testImplementation libs.androidx.arch.core.testing
5151
testImplementation libs.androidx.paging.runtime
5252
}
53+
54+
dependencyAnalysis {
55+
issues {
56+
onUnusedDependencies {
57+
// This dependency is actually needed; otherwise, tests fail.
58+
exclude(libs.androidx.paging.runtime.get().module.toString())
59+
}
60+
}
61+
}

0 commit comments

Comments
 (0)