android-gradle-aspectj icon indicating copy to clipboard operation
android-gradle-aspectj copied to clipboard

implementation library

Open sineom-1 opened this issue 7 years ago • 3 comments

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' }

sineom-1 avatar Jan 30 '18 06:01 sineom-1

How to use this inside library? So that user(developer) does not need to add the apply plugin line into their build.gradle file?

kirtan403 avatar Feb 06 '18 09:02 kirtan403

How to use this inside a custom plugin for Gradle? I want to enable or disable this plugin from code in my plugin (dryRun)

miomao656 avatar Mar 06 '19 13:03 miomao656

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.

Archinamon avatar Mar 12 '19 12:03 Archinamon