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
75 stars 15 forks source link

Question: Can this produce aspect binary jars? #28

Closed th-jtullgren closed 2 years ago

th-jtullgren commented 2 years ago

Hi,

Can this project produce binary aspects for consumption and weaving in other projects? IE not weave the current project but rather compile the aspects to a jar.

Its different from using a typical AJ plugin in a traditional java project because we wish to write aspects to weave calls to the AOSP and Androidx libs. Your plugin seems to already have figured out how to load the android SDK into the classpath for compilation so if it can produce binary aspects in a jar or AAR that would be great.

Thanks!

eschlenz commented 2 years ago

Hi @th-jtullgren, I believe others have tried and failed to do what you'd like using our plugin. A path towards supporting it also has not presented itself yet. We tried a couple things, but ultimately gave up on this idea for now. If you somehow are able to make it work, and want to contribute back, we'd be open to that.

th-jtullgren commented 2 years ago

@eschlenz Thanks for letting me know!