apply from: '../commonModule.gradle'
apply from: '../commonKaptModule.gradle'
//the -ext postfix means that aspects from this module can be imported into other
apply plugin: 'com.archinamon.aspectj-ext'
aspectj {
debugInfo true
includeJar 'rxbinding'
}
dependencies {
...
implementation androidX.multidex
...
api rxBinding2.core
api rxBinding2.kotlin
api rxBinding2.appcompatV7
...
}
After build build/intermediates/transforms/aspectj/debug/content.json file looks like this:
> Task :base_feature:transformClassesWithAspectjForDebug
---------- Starting augmentation with AspectJ transformer ----------
Ignoring include/exclude option of -inpath parameter in simple mode. // multiple times, multiple times
Switch to `aspectj-ext` plugin to enable this behavior! // multiple times, multiple times
Still, test project is working perfectly. It's project build.gradle:
Hello! I'm trying to connect your plugin to multimodule project and the goal is logging some events, like button clicks. I try to include rxbinding lib, but there's no effect. Full project you could see here: https://gitlab.com/surfstudio/public/android-standard/-/tree/ANDDEP-1080-user-action-logger1/template . Also there was try with empty project and everything was great.
Project build.gradle contain connection android-gradle-aspectj:
Base_feature module looks like this:
After build build/intermediates/transforms/aspectj/debug/content.json file looks like this:
so there's no effect.
Build output is following:
Still, test project is working perfectly. It's project build.gradle:
App module build.gradle:
And it's content.json:
Any help/advice will be useful