且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

IntelliJ IDEA无法解决良好的工作gradle依赖关系

更新时间:2023-09-18 10:04:58

在大量失败的故障排除之后,我发现了问题所在.我的库包含捆绑的kotlin运行时,这导致无法调试IDEA的解决问题.我将项目分为多个子项目,其中实际的api依赖项未捆绑kotlin运行时.这解决了我的问题.

After a lot of failed troubleshooting, I found out what the problem was. My library contained the bundled kotlin runtime, which was causing impossible to debug resolving issues with IDEA. I split up the project into multiple subprojects, where the actual api dependency does not bundle the kotlin runtime. This fixed my issues.