Skip to content

Compiler doesn't pick incremental changes to multibindings in some circumstances #693

Closed
@matejdro

Description

When:

  • We have classes with @ContributesMultibinding annotation in a library module
  • Said library module includes Jetpack Compose compiler
  • New incremental compilation is enabled (kotlin.incremental.useClasspathSnapshot=true in gradle.properties)

Changes on those annotations may not get picked up when making incremental builds.

Steps to reproduce:

  1. Download and open Project.zip
  2. Run project
  3. Check logcat
  4. Note that logs will print two entries (as it should)
  5. Open LibraryMultibinds.kt
  6. Comment out @ContributesMultibinding annotation
  7. Run again and check logcat
  8. Logs print two entries again, even though we have commented one

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