android-gradle-aspectj
android-gradle-aspectj copied to clipboard
Writing aspects in Kotlin
Hi. Thank you for this plugin. I am wondering is it possible to write aspects in Kotlin? I compiled project with no errors. But when i looked in the decompiled code there is no aspects in there. Im using kotlin 1.2.30
Nope. Technically AJ not supports it.
AspectJ can augment Kotlin code so on. You may try to write kotlin class annotated with @Aspect and try to compile it. Not sure it works.
I actually wrote a full Android project and an Aspect weave class with all my pointcuts, both with Kotlin, and it is working fine, I'm just surprised with this @Archinamon, shouldn't it be working?
Is that Issue still relevant? Maybe this is old?
I actually wrote a full Android project and an Aspect weave class with all my pointcuts, both with Kotlin, and it is working fine, I'm just surprised with this @Archinamon, shouldn't it be working?
Is that Issue still relevant? Maybe this is old?
Can you please send us the repo link. Currently we are also struggling with the same issue.