Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
[ID: 558956]
View issue level access limits(Press Alt + Right arrow for more information)
Attachment actions
Unintended behavior
View staffing
Description
DESCRIBE THE ISSUE IN DETAIL:
Im using a custom AsmClassVisitorFactory in order to transform local class files and dependencies. However it does not invoke a transformation on self-resolving dependencies such as JARs and AAR files that I add to the build like:
Please take a look at the attached project where I have added a JAR and an AAR file to the build. In the buildSrc you will find an ExamplePlugin that uses the Instrumentation API and just prints the name of each class that is about to be transformed.
I also print inputs and outputs of each task. You will notice that the transformation is applied to project classes, dependencies but not the included JAR and AAR file.
STEPS TO REPRODUCE:
Also attached is the Gradle log
If that's intended behavior, we would like to understand why these artifacts are excluded.
Studio Build: 2021.3.1 Patch 1 Version of Gradle Plugin: 7.3.1 Version of Gradle: 7.4 Version of Java: 11 OS: Windows 11