Package com.diffplug.gradle.oomph
Class ConventionPde
- java.lang.Object
-
- com.diffplug.gradle.oomph.OomphConvention
-
- com.diffplug.gradle.oomph.ConventionPde
-
- All Implemented Interfaces:
AutoCloseable
public class ConventionPde extends OomphConvention
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 Classes Modifier and Type Class Description class
ConventionPde.TargetPlatform
Api for defining the target platform.static class
ConventionPde.TargetPlatformSetter
Sets the target platform.
-
Field Summary
-
Fields inherited from class com.diffplug.gradle.oomph.OomphConvention
extension
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
targetplatform(String name, Action<ConventionPde.TargetPlatform> targetplatform)
Creates a targetplatform with the given name and content.void
targetplatform(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 Detail
-
targetplatform
public void targetplatform(Action<ConventionPde.TargetPlatform> targetplatform)
Creates a targetplatform with the given content.
-
targetplatform
public void targetplatform(String name, Action<ConventionPde.TargetPlatform> targetplatform)
Creates a targetplatform with the given name and content.
-
-