Package com.diffplug.gradle.oomph
Class ConventionPde
java.lang.Object
com.diffplug.gradle.oomph.OomphConvention
com.diffplug.gradle.oomph.ConventionPde
- All Implemented Interfaces:
AutoCloseable
Adding the PDE convention to your project
adds the following features:
- `org.eclipse.platform.ide`
- `org.eclipse.jdt`
- `org.eclipse.pde`
You can set the targetplatform as follows:
```gradle
oomphIde {
pde {
targetplatform {
it.installation '../target.maven/build'
it.installation '../target.p2/build/p2asmaven/p2runnable/eclipse-deps'
}
}
}
```
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassApi for defining the target platform.static classSets the target platform. -
Field Summary
Fields inherited from class com.diffplug.gradle.oomph.OomphConvention
extension -
Method Summary
Modifier and TypeMethodDescriptionvoidtargetplatform(String name, Action<ConventionPde.TargetPlatform> targetplatform) Creates a targetplatform with the given name and content.voidtargetplatform(Action<ConventionPde.TargetPlatform> targetplatform) Creates a targetplatform with the given content.Methods inherited from class com.diffplug.gradle.oomph.OomphConvention
close, configure, requireIUs, setPerspectiveOver
-
Method Details
-
targetplatform
Creates a targetplatform with the given content. -
targetplatform
Creates a targetplatform with the given name and content.
-