Exclude some libraries from aboutLibraries

This commit is contained in:
FooIbar authored and tarsin committed 2023-06-30 15:47:17 +08:00
1 parent afc38c2de8
commit bc34f25a3c
1 file changed
+10
+10
View File
@@ -273,6 +273,16 @@ tasks.withType<KspTaskJvm>().configureEach {
aboutLibraries {
duplicationMode = MERGE
duplicationRule = GROUP
exclusionPatterns = listOf(
"androidx\\..*".toPattern(),
".*annotations".toPattern(),
"com\\.google\\.code\\..*".toPattern(),
"com\\.google\\.guava:listenablefuture".toPattern(),
"com\\.google\\.protobuf:protobuf-javalite".toPattern(),
"org\\.checkerframework:checker-qual".toPattern(),
"org\\.chromium\\.net:cronet-embedded".toPattern(),
"org\\.slf4j:slf4j-api".toPattern(),
)
}
cargo {