Ibotta / gradle-aspectj-pipeline-plugin

A Gradle plugin for Android projects which performs AspectJ weaving using Android's bytcode manipulation pipeline.
Apache License 2.0
76 stars 15 forks source link

Fix to support Kapt incremental builds #4

Closed eschlenz closed 3 years ago

eschlenz commented 3 years ago

This PR is a proposed fix for issue #3.

It was reported that Kapt incremental builds were failing when enabled, after making in-method changes on classes (ones that don't affect ABI compatibility).

After working with the Gradle team, the following solution was implemented. Using sample code provided by the original reporter, as well a branch that reproduces the issue in this project, the solution in this PR appears to solve the problem.