Project

General

Profile

h1. Wiki

h2. Before you start

Right now the plugin jar is not found in any public repository
Therefore you are forced to use the standard gradle ways to include custom plugins (e.g. init scripts, custom distribution, ...)

The distribution zip can be found at the bottom of this page!

h2. Getting started

In your build script put

apply plugin: 'java'
apply plugin: 'eclipse-link-projects'

eclipseLinkedProjects = ['project1']

// ... the rest of your buildscript...

Regenerate your eclipse files (you may want to omit the cleanEclipse):

gradle cleanEclipse eclipse

(Make sure the plugin can be found by the buildscript, maybe use the buildscript method as described by http://www.gradle.org/docs/current/userguide/organizing_build_logic.html#declareExternalBuildDependency )
The source code can be found in our subversion repository: source:trunk

h2. Sample

The samples are located here: source:trunk/sample

In project1 directory call:

gradle uploadArchives eclipse

that builds project1 and uploads it to the local sample repository (in ../localRepo) and it also generates
the .project and .classpath files.

In project2 (which depends on project1) call:

gradle build eclipse

that downloads the dependency project1 from the sample repository (under ../localRepo), builds project2 and
generates the eclipse files.

Then you can import the two eclipse projects in your eclipse installation and enjoy jumping from class B to
class A by pressing F3.

:-)