Closed blundell closed 4 months ago
1: The issue occur in arouter-compiler Your arouter-compiler is : arouter-compiler = { module = "com.github.jadepeakpoet.ARouter:arouter-compiler", version.ref = "arouter" } the jadepeakpoet's Arouter repo is https://github.com/jadepeakpoet/ARouter 2: in jadepeakpoet/ARouter compiler, thie problem occur in here, check your AROUTER_MODULE_NAME config
It seems even with correct config (and correct AROUTER_MODULE_NAME) certain setup's fail to find the annotation processor arguments. (Also raised here: https://github.com/alibaba/ARouter/issues/1051)
Can i close this issue? By the way, if you want use ksp to accelerate your build speed, perhaps you can try this ArouterKspCompiler
yeah no problem, thanks!
I am not sure if this is a problem with the ArouterGradlePlugin or a problem with Arouter itself. So I apologise if I am asking in the wrong place :-)
I have made a reproduction repo that shows the problem:
https://github.com/blundell/ARouterHiltIssue/tree/main
This happens when
com.google.dagger.hilt.android
gradle plugin version is >=2.46
.But the build will build successfully if hilt plugin is <=
2.45
.Any ideas please🙏