Compiler doesn't pick incremental changes to multibindings in some circumstances #693
Closed
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
ingradle.properties
)
Changes on those annotations may not get picked up when making incremental builds.
Steps to reproduce:
- Download and open Project.zip
- Run project
- Check logcat
- Note that logs will print two entries (as it should)
- Open LibraryMultibinds.kt
- Comment out
@ContributesMultibinding
annotation - Run again and check logcat
- Logs print two entries again, even though we have commented one