added support to build eclipse files for projects that require the

eclipse PDE
This commit is contained in:
ghidravore 2019-04-23 16:31:08 -04:00
parent df24f9ea24
commit a03c96d37b

View file

@ -1,7 +1,10 @@
apply plugin: 'java' apply plugin: 'java'
/* Requires Eclipse PDE
apply plugin: 'eclipse' //This project requires the eclpse PDE plugin. To create eclipse files for this project, run
eclipse { // "gradle eclipse -PeclipsePDE"
if (hasProperty("eclipsePDE")) {
apply plugin: 'eclipse'
eclipse {
project { project {
name = 'Eclipse GhidraDevPlugin' name = 'Eclipse GhidraDevPlugin'
buildCommand 'org.eclipse.pde.ManifestBuilder' buildCommand 'org.eclipse.pde.ManifestBuilder'
@ -22,8 +25,8 @@ eclipse {
} }
} }
} }
}
} }
*/
// We want GhidraDev to run with Eclipses launched with Java 8 // We want GhidraDev to run with Eclipses launched with Java 8
sourceCompatibility = 1.8 sourceCompatibility = 1.8