#Overview
Gradle plugin extending the standard eclipse plugin to add gradle nature to eclipse projects. Gradle Tooling musst be installed in eclipse to use such projects.
this plugin can be downloaded from plugins.gradle.org
Apply plugin gradle 2.1+ style:
buildscript {
repositories {
mavenCentral() // for plugin dependencies
}
}
plugins {
id 'net.vlad.eclipse-gradle-nature' version '0.2.5'
}
Using old gradle style:
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath group: 'net.vlad', name: 'eclipse-gradle-nature', version: '0.2.5'
}
}
apply plugin: 'net.vlad.eclipse-gradle-nature'
Plugin adds following tasks to the IDE tasks
group
eclipseGradle
- Generates Eclipse Gradle configuration files.cleanEclipseGradle
- Cleans Eclipse Gradle configuration files.
which will be called by eclise
and cleanEclipse
tasks
so usage:
gradle eclipse