Assigned
Status Update
Comments
lu...@google.com <lu...@google.com>
an...@google.com <an...@google.com> #2
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Ladybug Feature Drop | 2024.2.2 Canary 1
- Android Gradle Plugin 8.8.0-alpha01
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
cr...@gmail.com <cr...@gmail.com> #3
Good
cm...@google.com <cm...@google.com>
lu...@google.com <lu...@google.com> #4
Original change reverted: ag/29027154
Explanation for reopening issue:
hu...@google.com <hu...@google.com> #5
Note: This is blocked by this bug in Gradle: Unchanged files in classpath entry are reported as both ADDED and REMOVED when @Classpath is used
Steps to reproduce (similar to the steps in the Gradle bug above):
- Add
@Classpath
toInputArtifact
ofJacocoTransform
(as done in before it was reverted). Rebuild AGP.this commit - In
app/build.gradle.kts
, addandroid { buildTypes { debug { enableAndroidTestCoverage = true } } }
to runJacocoTransform
. - In
lib
, add classA
,B
,C
inA.kt
,B.kt
,C.kt
. - Run
./gradlew :app:assembleDebug
. Verify that the APK contains all 3 classes. - Delete
A.kt
- Run
./gradlew :app:assembleDebug
. Observe thatB.dex
andC.dex
were removed from the APK even thoughB.kt
andC.kt
were unchanged.
Description
Also need to add test to make sure it works with caching