Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Gradle incremental annotation processing #148

Merged
merged 31 commits into from
May 25, 2020

Conversation

JasonHezz
Copy link
Contributor

Sorry for the mistake. I should double check before making a PR.

chenenyu and others added 30 commits September 12, 2017 15:23
修复router库不能正确依赖annotation库的问题
create router gradle plugin
@chenenyu chenenyu merged commit ce71209 into chenenyu:dev May 25, 2020
@@ -0,0 +1,3 @@
com.chenenyu.router.compiler.processor.RouteProcessor,aggregating
com.chenenyu.router.compiler.processor.InterceptorProcessor,aggregating
com.chenenyu.router.compiler.processor.InjectParamProcessor,isolating
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

使用isolating会报这个警告:

> Task :module1:kaptDebugKotlin
[WARN] Issue detected with com.chenenyu.router.compiler.processor.InjectParamProcessor. Expected 1 originating source file when generating /Users/chenenyu/workspace/Router/Sample/module1/build/generated/source/kapt/debug/com/chenenyu/router/module/Module1Fragment$$Router$$ParamInjector.java, but detected 0: [].

我换成aggregating就好了

@chenenyu chenenyu mentioned this pull request May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants