Statically check that `componetRegistrar` and `commandLineProcessor` have no-arg constructor
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- kotlin
- 领域
- build-system
调研方向
Start by locating where this project declares or generates metadata for componetRegistrar and commandLineProcessor. The issue suggests generating Kotlin source with a constructor reference, but leaves the implementation approach open; check how the generated source is built and tested. Done means a compile-time check rejects either component when it lacks a no-argument constructor.
由索引模型根据 Issue 内容生成。
描述
Maybe thru a compiler plugin, or even better:
it could be done by generating source code that expects a no-arg constructor:
object PluginInfo {
val UNUSED_REGISTRAR_CONSTRUCTOR: () -> DevKitComponentRegistrar = ::MyComponentRegistrar
}
- 主要语言
- Kotlin
- 星标
- 34
- 派生
- 1
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 3
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Kotlin/compiler-plugin-dev-kit 的其他 Issue
-
compatibility
难度 2/5 1-3 小时 新手友好度 64/100
Kotlin/compiler-plugin-dev-kit#133 · 1 条评论 ·
-
compatibility
难度 2/5 1-3 小时 新手友好度 62/100
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 68/100
Kotlin/compiler-plugin-dev-kit#115 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 66/100
查看 Kotlin/compiler-plugin-dev-kit 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
code-scan
难度 2/5 1-3 小时 新手友好度 74/100
ankidroid/Anki-Android#23806 ·
维护者通常 1 天内回复
-
bug 🐞 Untriaged user issue
难度 2/5 1-3 小时 新手友好度 88/100
valkey-io/valkey-glide#7896 ·
维护者通常 2 天内回复
-
难度 1/5 1-3 小时 新手友好度 86/100
thisisartman/Meguri#211 ·
维护者通常 1 天内回复
-
follow-up
难度 1/5 1 小时以内 新手友好度 75/100
维护者通常 1 天内回复