Skip to content

Commit

Permalink
Support Incremental annotation processing.
Browse files Browse the repository at this point in the history
  • Loading branch information
act262 committed Jun 14, 2020
1 parent 6a083b4 commit c455a38
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 8 deletions.
4 changes: 3 additions & 1 deletion arouter-compiler/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ compileJava {
dependencies {
implementation 'com.alibaba:arouter-annotation:1.0.6'

implementation 'com.google.auto.service:auto-service:1.0-rc3'
annotationProcessor 'com.google.auto.service:auto-service:1.0-rc7'
compileOnly 'com.google.auto.service:auto-service-annotations:1.0-rc7'

implementation 'com.squareup:javapoet:1.8.0'

implementation 'org.apache.commons:commons-lang3:3.5'
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
com.alibaba.android.arouter.compiler.processor.RouteProcessor,isolating
com.alibaba.android.arouter.compiler.processor.AutowiredProcessor,isolating
com.alibaba.android.arouter.compiler.processor.InterceptorProcessor,isolating
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
buildscript {
ext.kotlin_version = '1.2.71'
ext.kotlin_version = '1.3.72'
ext.arouter_register_version = '1.0.2'

repositories {
Expand All @@ -15,7 +15,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.android.tools.build:gradle:4.0.0'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
org.gradle.daemon=true
#org.gradle.jvmargs=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005

COMPILE_SDK_VERSION=28
BUILDTOOLS_VERSION=28.0.3
COMPILE_SDK_VERSION=29
BUILDTOOLS_VERSION=29.0.2
SUPPORT_LIB_VERSION=28.0.0
MIN_SDK_VERSION=14
TARGET_SDK_VERSION=28
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed Oct 21 11:34:03 PDT 2015
#Fri Jun 12 21:40:29 CST 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ include ':arouter-annotation'
include ':module-java'
include ':module-kotlin'
include ':arouter-gradle-plugin'
include ':arouter-idea-plugin'
//include ':arouter-idea-plugin'

0 comments on commit c455a38

Please sign in to comment.