如何解决 Gradle 插件依赖?

时间:2023-03-02
本文介绍了如何解决 Gradle 插件依赖?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

我正在尝试从

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.

这篇关于如何解决 Gradle 插件依赖?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

上一篇:libgdx - 如何在舞台上添加背景图片? 下一篇:单击 libGDX 中的 Actor

相关文章