A Gradle plugin that configures the Java and Groovy plugins to use the Groovy Eclipse compiler instead of the default javac and groovyc compilers.
stubless joint groovy/java compilation
You'll need to use Gradle 0.9-rc-2 or later. It does not work with earlier Gradle releases.
Run gradle install
to build the plugin and install it into the local maven repository.
The plugin works with Gradle 0.9-rc-2 or later. To use it, you need to:
- load the plugin from the local maven repository using a
buildscript { }
section - apply the
groovy-eclipse
plugin. - apply any of the
java
,java-base
,groovy
orgroovy-base
plugins. The plugin does not do anything on its own.
Here's an example:
buildscript {
repositories {
mavenRepo(urls: uri("${System.getProperty('user.home')}/.m2/repository"))
}
dependencies {
classpath 'org.gradle:groovy-eclipse:0.1-SNAPSHOT'
}
}
apply plugin: 'groovy' // or apply plugin: 'java'
apply plugin: 'groovy-eclipse'
- There are some issues with AST transformations.
- Some compile options are not wired up yet.