This PR adds KSP support for AnvilMergeAnnotationDetector
The changes to AnvilMergeAnnotationDetector follows the same pattern already used in AnvilAnnotationDetectorCheck.
Added kspArgs["disable-component-merging"] to AnvilCompilation.kt when mode=KSP, this is to resolve an issue where the annotations @merge<component/subcompnent/module/Interface> where being ignored.
The corresponding test class was updated to handle KSP and the current system by making the expected errors a bit more generic. Specifically, the error message includes "Source0.kt:6" for KSP whereas it is "Source0.kt:6:7" for the current implementation.
This PR adds KSP support for
AnvilMergeAnnotationDetector
AnvilMergeAnnotationDetector
follows the same pattern already used in AnvilAnnotationDetectorCheck.kspArgs["disable-component-merging"]
toAnvilCompilation.kt
when mode=KSP, this is to resolve an issue where the annotations@merge<component/subcompnent/module/Interface>
where being ignored.