【问题标题】:Is it possible for Gradle projects in buildship to resolve dependencies to other Gradle projects in the same workspace?buildship 中的 Gradle 项目是否可以解决对同一工作区中其他 Gradle 项目的依赖关系?
【发布时间】:2015-11-25 15:34:02
【问题描述】:

复制自Is it possible for Gradle projects in Eclipse/STS to resolve dependencies to other Gradle projects in the same workspace?

我工作区中的 Gradle 项目(称为下游)需要依赖于另一个 Gradle 项目(称为上游)。在 Eclipse 之外,当然 Upstream 需要在 Downstream 之前构建和安装(以便 Gradle 可以解决它)。在 Eclipse 中,由于两个项目都在工作区中,我想让 Gradle 先在工作区中查看,并在项目之间建立依赖关系,而不是来自 repo。

我不喜欢使用 Eclipse/STS,但是闪耀新的 Eclipse-Buildship gradle 集成。有人知道如何实现这个基本功能吗?

【问题讨论】:

    标签: eclipse gradle buildship


    【解决方案1】:

    目前 Buildship 仅支持导入一个多项目构建,而不支持导入多个单独的 gradle 项目。计划对此进行更改,但还需要在 Gradle Tooling API 中进行一些工作,我们希望在其中正确建模工作区的概念。 gradle 团队开始在他们的设计文档中指定这个功能在

    https://github.com/gradle/gradle/blob/master/design-docs/ide-integration.md#story---expose-workspace-concept-for-eclipse

    【讨论】:

      猜你喜欢
      • 2014-12-04
      • 2016-08-06
      • 2015-04-12
      • 1970-01-01
      • 2023-04-08
      • 1970-01-01
      • 2018-11-20
      • 2015-12-13
      • 1970-01-01
      相关资源
      最近更新 更多