Package com.diffplug.gradle.swt
Class NativeDepsPlugin
java.lang.Object
com.diffplug.gradle.ProjectPlugin
com.diffplug.gradle.swt.NativeDepsPlugin
Deprecated.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.diffplug.gradle.ProjectPlugin
apply, getPlugin, treeDef
-
Constructor Details
-
NativeDepsPlugin
public NativeDepsPlugin()Deprecated.
-
-
Method Details
-
applyOnce
Deprecated.Description copied from class:ProjectPluginPlugin application, which is guaranteed to execute only once.- Specified by:
applyOncein classProjectPlugin
-
MavenCentralPluginis a better option. Adds the platform-specific SWT and jface jars which are appropriate for the currently running platform (on the dev machine). Adds the following jars: * `org.eclipse.swt` * `org.eclipse.jface` * `org.eclipse.core.commands` * `org.eclipse.equinox.common` ```groovy apply plugin: 'com.diffplug.swt.nativedeps' ``` * Property `SWT_VERSION` sets the eclipse version from which to get SWT (e.g. `4.6.0`). * Property `SWT_P2_REPO` sets the p2 repository which is being used (ignores the SWT_VERSION property). * Property `SWT_P2_GROUP` sets the maven group name for the downloaded artifacts, (defaults to `eclipse-swt-deps`). ### Example projects * [durian-swt](https://github.com/diffplug/durian-swt) * (send us yours in a [PR](https://github.com/diffplug/goomph)!)