Skip to content

Commit 0cddef5

Browse files
authored
Merge pull request #57 from kfrozen/master
Replace android-apt by annotation processor
2 parents 3282776 + fd9e087 commit 0cddef5

File tree

5 files changed

+5
-9
lines changed

5 files changed

+5
-9
lines changed

activityrouter/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
apply plugin: 'com.android.library'
2-
apply plugin: 'com.neenbedankt.android-apt'
32

43
sourceCompatibility = 1.7
54
targetCompatibility = 1.7

app/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
apply plugin: 'com.android.application'
2-
apply plugin: 'com.neenbedankt.android-apt'
32

43
sourceCompatibility = 1.7
54
targetCompatibility = 1.7
@@ -32,5 +31,5 @@ dependencies {
3231
testCompile 'junit:junit:4.12'
3332
compile 'com.android.support:appcompat-v7:23.2.1'
3433
compile project(':app_module')
35-
apt project(':compiler')
34+
annotationProcessor project(':compiler')
3635
}

app_module/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
apply plugin: 'com.android.library'
2-
apply plugin: 'com.neenbedankt.android-apt'
32

43
android {
54
compileSdkVersion 24
@@ -30,5 +29,5 @@ dependencies {
3029
compile 'com.android.support:appcompat-v7:24.2.1'
3130
testCompile 'junit:junit:4.12'
3231
compile project(':activityrouter')
33-
apt project(':compiler')
32+
annotationProcessor project(':compiler')
3433
}

build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ buildscript {
55
jcenter()
66
}
77
dependencies {
8-
classpath 'com.android.tools.build:gradle:2.2.0'
8+
classpath 'com.android.tools.build:gradle:2.2.3'
99
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
1010
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
11-
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
1211

1312
// NOTE: Do not place your application dependencies here; they belong
1413
// in the individual module build.gradle files

compiler/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ ext {
2828
}
2929

3030
dependencies {
31-
compile 'com.google.auto.service:auto-service:1.0-rc2'
32-
compile 'com.squareup:javapoet:1.6.1'
31+
compile 'com.squareup:javapoet:1.8.0'
32+
compile 'com.google.auto.service:auto-service:1.0-rc3'
3333
compile 'com.github.mzule.activityrouter:annotation:1.1.5'
3434
}
3535

0 commit comments

Comments
 (0)