Java
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_imgs Added the gradlephant and a title card. Mar 20, 2017
com.diffplug.needs17 Bump manifest versions to 1.0.0. Jul 31, 2016
com.diffplug.needs18 Bump manifest versions to 1.0.0. Jul 31, 2016
com.diffplug.needsBoth Bump manifest versions to 1.0.0. Jul 31, 2016
com.diffplug.rcpdemo Refactor code example. Sep 21, 2017
com.diffplug.talks.rxjava_and_swt Bump manifest versions to 1.0.0. Jul 31, 2016
deploy `:deploy:assemble.all` now depends explicitly on `:target.maven:bundl… Jul 31, 2016
gradle Working cut at a headless eclipse app. Sep 21, 2017
ide Bumped ide to eclipse 4.6.2, and added some third-party plugins. Jan 10, 2017
target.maven Improved target.maven setup so that its subprojects can be configured… Jan 10, 2017
target.p2 Fallout from some goomph changes. Jul 8, 2016
.gitignore DurianRx, DurianSwt to 2.0.0, Goomph to 3.0.1-SNAPSHOT (while we fix … Jul 14, 2016
.travis.yml Basic project structure. Nov 22, 2015
CHANGES.md Updated changelog. Sep 21, 2017
CONTRIBUTING.md DurianRx, DurianSwt to 2.0.0, Goomph to 3.0.1-SNAPSHOT (while we fix … Jul 14, 2016
Gradle and Eclipse RCP.pptx Added the gradlephant and a title card. Mar 20, 2017
LICENSE Basic project structure. Nov 22, 2015
README.md Updated EclispeConverge callout. Mar 16, 2017
build.gradle Refactor code example. Sep 21, 2017
build.properties Basic project structure. Nov 22, 2015
gradle.properties Refactor code example. Sep 21, 2017
gradlew Gradle wrapper 3.2.1 -> 3.3.0. Jan 10, 2017
gradlew.bat Gradle wrapper 3.2.1 -> 3.3.0. Jan 10, 2017
settings.gradle Bump spotless to its latest version, which lets us apply it per-project. Jan 10, 2017
titlecard.png Added a titlecard. Jun 17, 2016

README.md

Gradle and Eclipse RCP

Latest version License Apache Changelog Travis CI

This example project demonstrates building an Eclipse RCP application using the following techniques:

  • Dependencies pulled from maven and p2
  • Native launchers for Win/Mac/Linux
  • Automatic OSGi metadata
  • Two versions of the same library (Guava 17 and 18 at the same time)
  • Generate IDE-as-build-artifact

Demo project for the goomph Gradle plugin, also makes heavy use of bnd-platform.

Quickstart

  • gradlew ide opens an IDE for manipulating this project.
  • gradlew assemble.all creates native launchers for win/mac/linux in the deploy/build folder.

High level layout

The plugins are applied as follows:

Project layout

Talks

See "Gradle and Eclipse RCP.pptx" in this repo for more details. Based on a talk given at Gradle Summit 2016 (video).

A second talk based on this work will be given at EclipseConverge 2017.

Acknowledgements

  • Many thanks to Simon Templer for the excellent bnd-platform.
  • Be on the lookout for David Akehurst's work on p2 and Gradle (details in powerpoint).
  • Andrey Hihlovskiy's excellent Wuff and Unpuzzle libraries have been a huge boon to everyone trying to get Gradle and Eclipse to collaborate.
  • Maintained by DiffPlug.