I maintain old project. And all aspects run from gradle script. But this script can't work with Kotlin classes. And I decided to disable script and connect your library, but encounter with problem. All aspects in project are located in another libraries. Not in "{Project}/app/src/main/aspectj/...", but in "{Project}/Libraries/{Library}/src/main/aspectj/...". But this aspects must be weaved for main module.
I added "apply plugin: 'com.archinamon.aspectj'" to library build.gradle-s. But it can't resolve dependencies from "app". For example I call custom Logger class from "app" module in aspect from "Libraries" and add dependency "import com.firm.utils.Logger;". I get exception "Logger cannot be resolved".
Can I solve this problem without moving aspects in main module?
I maintain old project. And all aspects run from gradle script. But this script can't work with Kotlin classes. And I decided to disable script and connect your library, but encounter with problem. All aspects in project are located in another libraries. Not in "{Project}/app/src/main/aspectj/...", but in "{Project}/Libraries/{Library}/src/main/aspectj/...". But this aspects must be weaved for main module. I added "apply plugin: 'com.archinamon.aspectj'" to library build.gradle-s. But it can't resolve dependencies from "app". For example I call custom Logger class from "app" module in aspect from "Libraries" and add dependency "import com.firm.utils.Logger;". I get exception "Logger cannot be resolved". Can I solve this problem without moving aspects in main module?