Archinamon / android-gradle-aspectj

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

Can this plugin be used from the library level #1

Closed jd-alexander closed 9 years ago

jd-alexander commented 9 years ago

I want to use Aspect J in library. I tried using uPhyca's plugin but when I referenced the library from my app project it doesn't work. Does this support it?

Archinamon commented 9 years ago

In case my and uPhyca's plugin operates over compile tasks, you have to use it on the top-level of your app. If you use it on lib level only your main app won't be able to use aspects. Build tasks under library module won't affect the compile tasks scope of any other modules.

jd-alexander commented 9 years ago

Alright thanks.