且构网

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

Eclipse/STS 中的 Gradle 项目是否可以解决对同一工作区中其他 Gradle 项目的依赖关系?

更新时间:2023-08-21 23:35:34

原来这个 is 是一个 Gradle IDE 的未完成功能请求.已为 Gradle IDE 3.6.3 版本提供.

It turns out this is was an outstanding feature request for Gradle IDE. It has been delivered for the 3.6.3 release of Gradle IDE.

确实必须启用它:

必须在 Gradle 首选项页面中启用该功能.使用权通过窗口 >> 首选项 >> Gradle".

The feature has to be enabled in the Gradle preferences page. Access via "Window >> Preferences >> Gradle".

如果您在那里没有看到将 jars 重新映射到 Gradle 项目",那么也许仔细检查一下 Gradle 插件的版本确实是 3.6.3.升级过程中可能出现问题,而您仍在使用一个旧版本.来源

If you are not seeing the "remap jars to Gradle projects" there then maybe double check that version of the Gradle plugins is indeed 3.6.3. Maybe something went wrong during the upgrade and you are still using an older version. Source