问题标签 [ksp]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
68 浏览

android - 如何在我的 android gradle groovy dsl 构建文件中配置 ksp

我正在研究我当前的 android 项目中的 io.arrow.kt 函数式编程库。

我在配置使用 ksp 生成源代码的光学模块时遇到困难

我的项目gradle类似于这个

与我的 android 子模块类似

我的 android kotlin 代码中的光学代码虽然无法编译

因为在注释掉的代码中找不到公司

ksp 可以在安卓上运行吗?我在我的 gradle 构建文件中犯了什么错误?