Comments (5)
谢谢夸奖, 不过还是得吐槽你们技术选型选到天坑了🤣 看了下21年就没更新了;
WMRouter的APT规则没怎么了解过; 但是看了下代码量不是很多;但是改的话估计也有点折腾喔;
以下是一些资料:
0、 官方仓库: 含有部分示例、完整源码、庞大的社区及其Issue集合:https://github.com/google/ksp
1、 我对KSP开发的一些理解, 偏向理论;
https://www.yuque.com/jailedbird/gbmyp7/bs5t6e5zthrgfaua?singleDoc# 《KSP注解处理器分享》
2、 官方文档:https://kotlinlang.org/docs/ksp-overview.html 有官方中文版,但是表述上见仁见智:https://book.kotlincn.net/text/ksp-overview.html
3、 使用ksp时,建议使用ksp+KotlinPoet; KotlinPoet是Square出品,含ksp拓展,可以帮你剩下很多精力, 因此KotlinPoet官网教程必不可少:https://square.github.io/kotlinpoet/ 有很多代码生成案例、KSP拓展教程
4、 已经迁移Ksp的项目列表:https://kotlinlang.org/docs/ksp-overview.html#supported-libraries
5、 本人的项目也可作为参考(特别是Utils工具类,相信会对你有一定启发),稳定性有一定的保证;
觉得麻烦,可以加我微信JailedBird 讨论;
from arouterkspcompiler.
太感谢了!马上star一下,然后慢慢学习一下!
from arouterkspcompiler.
https://www.yuque.com/jailedbird/gbmyp7/bs5t6e5zthrgfaua?singleDoc# 《KSP注解处理器分享》
对了,这个网站好像打不开啊。
from arouterkspcompiler.
直接打开这个? https://www.yuque.com/jailedbird/gbmyp7/bs5t6e5zthrgfaua?singleDoc# 应该没问题才对;
from arouterkspcompiler.
应该是OK的,我们公司把这个网址墙了。。
from arouterkspcompiler.
Related Issues (14)
- 能支持AGP7.3吗? HOT 1
- 使用withStringArrayList在接收参数地方会出现One type argument expected for typealias ArrayList<E> = ArrayList<E> HOT 7
- 大佬啥时候kt升到1.8.10啊 HOT 2
- withStringArrayList传参接收不到... HOT 4
- 能支持下java11么? HOT 9
- [ksp] No providers found in processor classpath HOT 2
- 在泛型类使用 @Autowired 注解编译报错 HOT 2
- ksp 最新版本 HOT 17
- 为什么会有kotlin1.7.22这个版本 HOT 1
- 关于Arouter 使用ksp 后,无法覆盖以前使用Kapt 编译的APP HOT 4
- Type in a class literal must not be nullable HOT 10
- jump到SecondActivtiy就闪退 HOT 1
- 支持KSP 1.9.22-1.0.17 吗 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arouterkspcompiler.