Skip to content

Commit 86d6300

Browse files
author
archinamon
committed
released 2.2.2 artifacts;
1 parent e9d8bc4 commit 86d6300

11 files changed

+66
-7
lines changed

AspectJ-gradle/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies {
2727
}
2828

2929
group = 'com.archinamon'
30-
version = '2.2.1'
30+
version = '2.2.2'
3131

3232
// local archive :: debug mode
3333
uploadArchives {

README.md

Lines changed: 10 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:2.2.0`.
9+
Actual version: `com.archinamon:android-gradle-aspectj:2.2.2`.
1010
Re-written with brand new <a href="http://tools.android.com/tech-docs/new-build-system/transform-api" target="_blank">Transform API</a>!
1111

1212
This plugin is completely friendly with <a href="https://bitbucket.org/hvisser/android-apt" target="_blank">APT</a> (Android Annotation Processing Tools) and <a href="https://github.com/evant/gradle-retrolambda/" target="_blank">Retrolambda</a> project (but Java 8 not supported in .aj files).
@@ -49,7 +49,7 @@ Don't forget to add `mavenCentral()` due to some dependencies inside AspectJ-gra
4949

5050
Add the plugin to your `buildscript`'s `dependencies` section:
5151
```groovy
52-
classpath 'com.github.Archinamon:GradleAspectJ-Android:2.2.0'
52+
classpath 'com.github.Archinamon:GradleAspectJ-Android:2.2.2'
5353
```
5454

5555
Apply the `aspectj` plugin:
@@ -91,6 +91,7 @@ aspectj {
9191
9292
includeJar 'design', 'support-v4', 'dagger'
9393
includeAspectsFromJar 'my-aj-logger-lib', 'any-other-libs-with-aspects'
94+
ajcExtraArgs << '-referenceInfo' << '-warn:deprecation'
9495
9596
weaveInfo true
9697
debugInfo false
@@ -109,6 +110,7 @@ aspectj {
109110

110111
- `includeJar` Name filter to include any jar/aar which name or path satisfies the filter
111112
- `includeAspectsFromJar` Name filter to include any jar/aar with compiled binary aspects you wanna affect your project
113+
- `ajcExtraArgs` Additional parameters for aspectj compiler
112114

113115
- `weaveInfo` Enables printing info messages from Aj compiler
114116
- `debugInfo` Adds special debug info in aspect's bytecode
@@ -150,6 +152,12 @@ So concrete rule is:
150152

151153
Changelog
152154
---------
155+
#### 2.2.2 -- Improvements
156+
* fixed build config namings;
157+
* re-designed work with log file and errors handling;
158+
* pretty formatting ajc arguments for build stdout;
159+
* implemented handling custom ajc arguments via build.gradle config;
160+
153161
#### 2.2.1 -- Hot-fix
154162
* fixed illegal 'return' statement;
155163
* change included in `updated` 2.2.0 artifacts;
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9e905bd0ba4ea7165d1a373894a46473
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bb8e9ddf8d3653273cef9e0366efa4a3a21805d6
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4+
<modelVersion>4.0.0</modelVersion>
5+
<groupId>com.archinamon</groupId>
6+
<artifactId>android-gradle-aspectj</artifactId>
7+
<version>2.2.2</version>
8+
<dependencies>
9+
<dependency>
10+
<groupId>com.android.tools.build</groupId>
11+
<artifactId>gradle</artifactId>
12+
<version>2.2.2</version>
13+
<scope>compile</scope>
14+
</dependency>
15+
<dependency>
16+
<groupId>org.aspectj</groupId>
17+
<artifactId>aspectjrt</artifactId>
18+
<version>1.8.9</version>
19+
<scope>compile</scope>
20+
</dependency>
21+
<dependency>
22+
<groupId>org.aspectj</groupId>
23+
<artifactId>aspectjtools</artifactId>
24+
<version>1.8.9</version>
25+
<scope>compile</scope>
26+
</dependency>
27+
<dependency>
28+
<groupId>com.android.tools.build</groupId>
29+
<artifactId>transform-api</artifactId>
30+
<version>1.5.0</version>
31+
<scope>compile</scope>
32+
</dependency>
33+
<dependency>
34+
<groupId>junit</groupId>
35+
<artifactId>junit</artifactId>
36+
<version>4.10</version>
37+
<scope>test</scope>
38+
</dependency>
39+
<dependency>
40+
<groupId>org.easytesting</groupId>
41+
<artifactId>fest-assert-core</artifactId>
42+
<version>2.0M10</version>
43+
<scope>test</scope>
44+
</dependency>
45+
</dependencies>
46+
</project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
67f233a66d2f0336bba4c06378db533d
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7535337ad683f794a595726f6948b4af032d1a6f

com/archinamon/android-gradle-aspectj/maven-metadata.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<groupId>com.archinamon</groupId>
44
<artifactId>android-gradle-aspectj</artifactId>
55
<versioning>
6-
<release>2.2.1</release>
6+
<release>2.2.2</release>
77
<versions>
88
<version>1.3.1</version>
99
<version>1.3.2</version>
@@ -17,7 +17,8 @@
1717
<version>2.1.0</version>
1818
<version>2.2.0</version>
1919
<version>2.2.1</version>
20+
<version>2.2.2</version>
2021
</versions>
21-
<lastUpdated>20161031140422</lastUpdated>
22+
<lastUpdated>20161031214325</lastUpdated>
2223
</versioning>
2324
</metadata>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
559e0e0ab7bb817ad2ef602f57f2c4cc
1+
64d4b5ba05c61134f0b9a8f9cc2430df

0 commit comments

Comments
 (0)