Skip to content

Commit 9e1da26

Browse files
author
archinamon
committed
updated readme with new config parameter;
1 parent e3cb79e commit 9e1da26

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Supports writing code with AspectJ-lang in `.aj` files and in java-annotation st
66
Full support of Android product flavors and build types.
77
Support Kotlin, Groovy, Scala and any other languages that compiles into java bytecode.
88

9-
Actual version: `com.archinamon:android-gradle-aspectj:3.0.0`.
9+
Actual version: `com.archinamon:android-gradle-aspectj:3.0.2`.
1010
<br />
1111
Friendly with <a href="https://zeroturnaround.com/software/jrebel-for-android/" target="_blank">jRebel for Android</a>!
1212

@@ -48,7 +48,7 @@ Don't forget to add `mavenCentral()` due to some dependencies inside AspectJ-gra
4848

4949
Add the plugin to your `buildscript`'s `dependencies` section:
5050
```groovy
51-
classpath 'com.github.Archinamon:GradleAspectJ-Android:3.0.0'
51+
classpath 'com.github.Archinamon:GradleAspectJ-Android:3.0.2'
5252
```
5353

5454
Apply the `aspectj` plugin:
@@ -91,6 +91,7 @@ aspectj {
9191
/* @see Ext plugin config **/
9292
includeAllJars false
9393
includeJar 'design', 'support-v4', 'dagger'
94+
extendClasspath true
9495
9596
includeAspectsFromJar 'my-aj-logger-lib', 'any-other-libs-with-aspects'
9697
ajcArgs << '-referenceInfo' << '-warn:deprecation'
@@ -113,6 +114,7 @@ All the extension parameters are have default values (all of them are described
113114
So no need to define them manually.
114115

115116
- `ajc` Allows to define the aspectj runtime jar version manually (1.8.10 current)
117+
- `extendClasspath` Explicitly controls whether plugin should mutate the classpath with aspectj-runtime itself
116118

117119
- `includeAllJars` Explicitly include all available jar-files into -inpath to proceed by AJ-compiler
118120
- `includeJar` Name filter to include any jar/aar which name or path satisfies the filter

0 commit comments

Comments
 (0)