如何解决 Gradle 插件依赖?

2022-01-12 00:00:00 eclipse-plugin gradle eclipse libgdx

我正在尝试从

http://dist.springsource.com/release/TOOLS/gradle

为了在 Eclipse 中创建 LibGdx 项目.

in order to create LibGdx project in Eclipse.

但是有一个依赖问题,我被困在其中并且无法理解错误.

But there is a dependency issue where I am stuck at and not able to understand the error.

以下是尝试安装 Gradle 插件时 eclipse 中的错误堆栈.

Below is the error stack in eclipse while trying to install the Gradle plugin.

正在安装的软件:Spring UAA 集成(可选)3.6.0.201407080544-RELEASE (org.springframework.ide.eclipse.uaa.feature.feature.group 3.6.0.201407080544-RELEASE)缺少要求:Spring UAA Integration 3.6.0.201407080544-RELEASE (org.springframework.ide.eclipse.uaa 3.6.0.201407080544-RELEASE) 需要 'package com.google.protobuf 0.0.0' 但找不到

Software being installed: Spring UAA Integration (optional) 3.6.0.201407080544-RELEASE (org.springframework.ide.eclipse.uaa.feature.feature.group 3.6.0.201407080544-RELEASE) Missing requirement: Spring UAA Integration 3.6.0.201407080544-RELEASE (org.springframework.ide.eclipse.uaa 3.6.0.201407080544-RELEASE) requires 'package com.google.protobuf 0.0.0' but it could not be found

更新:
http://dist.springsource.com/release/TOOLS/gradle(最新版本) 没用.
但是,
http://dist.springsource.com/milestone/TOOLS/gradle(最新里程碑构建)工作!

UPDATE:
http://dist.springsource.com/release/TOOLS/gradle (latest release) did not work.
But,
http://dist.springsource.com/milestone/TOOLS/gradle (latest milestone build) worked!

推荐答案

作者自己贴出答案,让这个问题很容易回答.所以我会猛扑过去,轻松拿分.

The author has made this question easy to answer by posting the answer himself. So I will swoop in and take the easy points.

使用:http://dist.springsource.com/milestone/TOOLS/gradle(最新的里程碑构建)

Use: http://dist.springsource.com/milestone/TOOLS/gradle (latest milestone build)

因为要求(Spring UAA 集成 3.6.0.201407080544-RELEASE)包含在上述附加组件中.

because the requirements (Spring UAA Integration 3.6.0.201407080544-RELEASE) are included in the aforementioned add-on.

http://dist.springsource.com/release/TOOLS/gradle (最新版本)不起作用.

http://dist.springsource.com/release/TOOLS/gradle (latest release) did not work.

因为要求(Spring UAA 集成 3.6.0.201407080544-RELEASE)未包含在上述附加组件中(我重复一遍!).

because the requirements (Spring UAA Integration 3.6.0.201407080544-RELEASE) are NOT (I repeat NOT!!) included in the aforementioned add-on.

相关文章