Archinamon / android-gradle-aspectj

gradle plug-in adding supports of AspectJ into Android project
Apache License 2.0
364 stars 58 forks source link

Can this be used outside of Android projects? #39

Closed GuyPaddock closed 6 years ago

GuyPaddock commented 7 years ago

This looks like the only complete AspectJ plug-in for Gradle that supports compiling *.aj separately from Java. I was wondering if there is any problem or drawback to using this project outside of an Android Gradle project (for example, Spring).

Archinamon commented 7 years ago

Nowdays the plugin depends on android's compile flow and Transform API. I'm planning to write a java/groovy/kotlin/scala separate implementation in future. So stay tuned or contribute :)

In general, needs to unbound compiler task from android structure and write a weaver-task on pure gradle mechanics. Also I have a little expirience with pure java projects so dunno about some specific stuff that could broke this idea.

Archinamon commented 6 years ago

No time to write a pure java wrapper :(