eclipse gradle 在线安装

Installation instructions

Requirements

Buildship 2.x can be installed into Eclipse 4.2 or newer, whereas Buildship 1.x can be installed into Eclipse 3.6-4.6. Different Eclipse versions might be compatible but they aren't explicitly tested. Depending on the Gradle version that Buildship uses for a project import, certain features may not be available.

Installing from eclipse.org update site

We propose you install Buildship from the Eclipse Marketplace.

Buildship is also available through one of the provided composite update sites listed on eclipse.org.

For manual installation use one of the update sites below.

Update sites for Buildship 2.x

Eclipse VersionTypeUpdate Site
Neon (4.6)releasehttp://download.eclipse.org/buildship/updates/e46/releases/2.x
            | milestone | `http://download.eclipse.org/buildship/updates/e46/milestones/2.x`
            | snapshot  | `http://download.eclipse.org/buildship/updates/e46/snapshots/2.x`

Mars (4.5) | release | http://download.eclipse.org/buildship/updates/e45/releases/2.x | milestone | http://download.eclipse.org/buildship/updates/e45/milestones/2.x | snapshot | http://download.eclipse.org/buildship/updates/e45/snapshots/2.x Luna (4.4) | release | http://download.eclipse.org/buildship/updates/e44/releases/2.x | milestone | http://download.eclipse.org/buildship/updates/e44/milestones/2.x | snapshot | http://download.eclipse.org/buildship/updates/e44/snapshots/2.x Kepler (4.3) | release | http://download.eclipse.org/buildship/updates/e43/releases/2.x | milestone | http://download.eclipse.org/buildship/updates/e43/milestones/2.x | snapshot | http://download.eclipse.org/buildship/updates/e43/snapshots/2.x Juno (4.2) | release | http://download.eclipse.org/buildship/updates/e42/releases/2.x | milestone | http://download.eclipse.org/buildship/updates/e42/milestones/2.x | snapshot | http://download.eclipse.org/buildship/updates/e42/snapshots/2.x

Update sites for Buildship 1.x
Eclipse VersionUpdate Site
Neon (4.6)http://download.eclipse.org/buildship/updates/e46/releases/1.0
Mars (4.5)http://download.eclipse.org/buildship/updates/e45/releases/1.0
Luna (4.4)http://download.eclipse.org/buildship/updates/e44/releases/1.0
Kepler (4.3)http://download.eclipse.org/buildship/updates/e43/releases/1.0
Juno (4.2)http://download.eclipse.org/buildship/updates/e42/releases/1.0
Indigo (3.7)http://download.eclipse.org/buildship/updates/e37/releases/1.0
Helios (3.6)http://download.eclipse.org/buildship/updates/e36/releases/1.0

The continuous integration server generates nightly snapshot releases each day 23:00 CET which instantly become available at the snapshot update sites above. In regular intervals, the Buildship team also creates new milestone releases and makes them available at the milestone update sites.

Apply the following instructions to install the latest snapshot or milestone of Buildship into Eclipse.

  1. In Eclipse, open the menu item Help >> Install New Software.
  2. Paste the appropriate update site link into the Work with text box.
  3. Click the Add button at the top of the screen, give the update site a name, and press OK.
  4. Ensure that the option Group Items by Category is enabled.
  5. Select the top-level node Buildship: Eclipse Plug-ins for Gradle once it appears.
  6. Click Next. This may take a while.
  7. Review the list of software that will be installed. Click Next again.
  8. Review and accept the licence agreement and click Finish.

Installing from builds.gradle.org update site

We propose you install Buildship from eclipse.org. If, for any reason, you still want to install from builds.gradle.org, the following snapshot update sites are available for all the supported Eclipse versions:

  • https://builds.gradle.org/repository/download/Tooling_Master_IntegrationTests_Linux_Eclipse46Build/.lastSuccessful/update-site (latest 4.6 development snapshot)
  • https://builds.gradle.org/repository/download/Tooling_Master_IntegrationTests_Linux_Eclipse45Build/.lastSuccessful/update-site (latest 4.5 development snapshot)
  • https://builds.gradle.org/repository/download/Tooling_Master_IntegrationTests_Linux_Eclipse44Build/.lastSuccessful/update-site (latest 4.4 development snapshot)
  • https://builds.gradle.org/repository/download/Tooling_Master_IntegrationTests_Linux_Eclipse43Build/.lastSuccessful/update-site (latest 4.3 development snapshot)
  • https://builds.gradle.org/repository/download/Tooling_Master_IntegrationTests_Linux_Eclipse42Build/.lastSuccessful/update-site (latest 4.2 development snapshot)

Apply the following instructions to install the latest snapshot of Buildship into your version of Eclipse.

  1. In Eclipse, open the menu item Help >> Install New Software.
  2. Paste the update site link that matches your Eclipse version into the Work with text box.
  3. Click the Add button at the top of the screen, give the update site a name, and press OK.
  4. If prompted, set the following credentials: username=guest, password=guest.
  5. Ensure that the option Group Items by Category is enabled.
  6. Select the top-level node Buildship: Eclipse Plug-ins for Gradle once it appears.
  7. Click Next. This may take a while.
  8. Review the list of software that will be installed. Click Next again.
  9. Review and accept the licence agreement and click Finish.

Updating from update site

If you have already installed Buildship, you can update to the most recent version by opening the menu item Help >> Check for Updates. Note, that the update works only if Buildship was installed from the updates sites from download.eclipse.org or from builds.gradle.org, as listed above. If Buildship comes preinstalled in your Eclipse (for instance if you use the standard Eclipse for Java developers package) then you have to do the update manually. To do that just follow the steps from the previous section.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Eclipse是一个功能强大的开发工具,可以支持多种开发语言,如Java、C++等。而Gradle是一个流行的构建工具,用于自动构建、测试和部署代码。 当我们在Eclipse中使用Gradle时,有时可能会遇到下载失败的问题。导致下载失败的原因可能有以下几种: 1. 网络连接问题:下载过程中可能出现网络连接不稳定或者断开的情况,导致下载失败。这时我们可以尝试重新开始下载,或者检查网络连接是否正常。 2. 服务器问题:Gradle的下载可能受到服务器的限制,如果服务器出现故障或者过载,可能会导致下载失败。这时我们可以尝试重新下载,或者等待服务器恢复正常。 3. Gradle版本问题:Eclipse中的Gradle插件可能不兼容当前安装Gradle版本,导致下载失败。我们可以尝试升级或降级Gradle的版本,或者更新Eclipse中的Gradle插件。 4. 配置问题:可能是因为我们的Gradle配置文件中指定的下载源无效或不可用,导致下载失败。这时我们可以尝试修改配置文件,指定有效的下载源。 解决下载失败问题的方法包括: 1. 检查网络连接并重新开始下载。 2. 尝试使用其他下载源或者更新Gradle版本。 3. 更新Eclipse中的Gradle插件。 4. 检查Gradle配置文件中的下载源是否有效并进行修改。 总之,对于Eclipse中的Gradle下载失败问题,我们需要仔细排查可能的原因,并采取相应的解决方法。通过确保网络连接稳定,更新Gradle版本或插件,以及修复配置文件中的问题,我们应该能够成功下载并使用Gradle

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值