We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ref: yyuueexxiinngg/onebot-kotlin#166 #652 #653
先说结论:mirai-api-http 也 vendor 一个 yamlkt 吧 还是社区协调好依赖应该如何处理吧,考虑到 onebot-mirai 已然缺少更新和维护的动力,可以考虑放弃对它的兼容。
mirai-console 和 onebot-mirai 都 vendor 了 yamlkt,导致 mirai-api-http 同时使用了两者的 yamlkt,因此报错。
这一 更改 不仅没有解决问题,反而让问题更加严重:即使在没有 onebot-mirai,仅使用 mirai-api-http 的情况下,也会有两个 yamlkt(mirai-console 中 vendor 的,和 mirai-console 为 mirai-api-http 另外下载的),于是发生了同样的问题,直接导致 mirai-api-http 不可用。
- api("net.mamoe.yamlkt:yamlkt:0.10.2") - compileOnly("net.mamoe.yamlkt:yamlkt:0.9.0") + testImplementation("net.mamoe.yamlkt:yamlkt:0.12.0") + implementation("net.mamoe.yamlkt:yamlkt:0.12.0")
The text was updated successfully, but these errors were encountered:
我是笨蛋,请问应该如何修改,才能解决这个问题呢
Sorry, something went wrong.
No branches or pull requests
ref: yyuueexxiinngg/onebot-kotlin#166 #652 #653
先说结论:
mirai-api-http 也 vendor 一个 yamlkt 吧还是社区协调好依赖应该如何处理吧,考虑到 onebot-mirai 已然缺少更新和维护的动力,可以考虑放弃对它的兼容。v2.7.0 前
mirai-console 和 onebot-mirai 都 vendor 了 yamlkt,导致 mirai-api-http 同时使用了两者的 yamlkt,因此报错。
v2.7.0 后
这一 更改 不仅没有解决问题,反而让问题更加严重:即使在没有 onebot-mirai,仅使用 mirai-api-http 的情况下,也会有两个 yamlkt(mirai-console 中 vendor 的,和 mirai-console 为 mirai-api-http 另外下载的),于是发生了同样的问题,直接导致 mirai-api-http 不可用。
The text was updated successfully, but these errors were encountered: