Open sineom-1 opened 6 years ago
How to use this inside library? So that user(developer) does not need to add the apply plugin line into their build.gradle file?
How to use this inside a custom plugin for Gradle? I want to enable or disable this plugin from code in my plugin (dryRun)
How to use this inside a custom plugin for Gradle? I want to enable or disable this plugin from code in my plugin (dryRun)
Since 3.3.6 you can use option dryRun
to decide where should plugin runs augmenting or not. If you set dryRun = true
, then plugin will NOT run compile/augment aspects within your project. When you set dryRun = false
, then plugin WILL inject aspect instructions into your project's code. I did add a description in readme both for kotlin and groovy scripts.
xx:xx:1.0.0 is my library,contain android-gradle-aspectj, I implementation this library in my app's build.gradle‘s dependencies I don't know set this ,please help me
aspectj { includeAspectsFromJar 'xx' }