Skip to content

false positive for unused kapt processors when the processor is in a non-kapt configuration dependency #347

@RBusarow

Description

@RBusarow

Given the build file:

plugins {
  kotlin("jvm")
  kotlin("kapt")
}

dependencies {
  implementation("com.google.dagger:dagger-compiler:2.40.5")

  kapt(project(:"some-processor"))
}

ModuleCheck will say that the Dagger compiler dependency is an unused kapt processor and should be removed.

The rule should only check for dependencies from a kapt configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions