如何解决Gradle插件依赖关系? [英] How to resolve Gradle plugin dependency?

查看:406
本文介绍了如何解决Gradle插件依赖关系?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从以下位置安装Eclipse集成Gradle

I am trying to install Eclipse integration Gradle from

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.

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

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集成3.6.0.201407080544-RELEASE(org.springframework.ide.eclipse.uaa 3.6.0.201407080544-RELEASE)需要包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 (最新版本)无效.

因为上述附件中未包含(春季UAA集成3.6.0.201407080544-RELEASE)要求(我重复NOT !!).

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

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆