Skip to content

Commit

Permalink
dependency analysis excludes
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielittner committed Nov 28, 2023
1 parent 2ab6a88 commit 5f6ded6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public abstract class RootPlugin : Plugin<Project> {

project.onUnusedDependencies {
it.exclude(
"() -> kotlin.Any?",
// added by the Kotlin plugin
"org.jetbrains.kotlin:kotlin-stdlib",
// parcelize is enabled on all Android modules
Expand All @@ -118,6 +119,8 @@ public abstract class RootPlugin : Plugin<Project> {

project.onIncorrectConfiguration {
it.exclude(
// added by the Kotlin plugin
"org.jetbrains.kotlin:kotlin-stdlib",
// Dagger is always added as "api", but some modules only use it in for example debugApi
"javax.inject:javax.inject",
"com.squareup.anvil:annotations",
Expand Down

0 comments on commit 5f6ded6

Please sign in to comment.