Skip to content

Instantly share code, notes, and snippets.

@gferon
Created January 15, 2013 07:48
Show Gist options
  • Save gferon/4536989 to your computer and use it in GitHub Desktop.
Save gferon/4536989 to your computer and use it in GitHub Desktop.
Overriding the main task from Gradle's eclipse plugin to generate a .project and .classpath files compatible with e(fx)clipse.
eclipse {
project {
natures 'org.eclipse.jdt.core.javanature', 'org.eclipse.xtext.ui.shared.xtextNature'
buildCommand 'org.eclipse.jdt.core.javabuilder'
buildCommand 'org.eclipse.xtext.ui.shared.xtextBuilder'
}
classpath {
containers 'at.bestsolution.efxclipse.tooling.jdt.core.JAVAFX_CONTAINER'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment