public class NativeDepsPlugin extends ProjectPlugin
Adds the platform-specific SWT jars which are appropriate for the native system to the compile classpath.
apply plugin: 'com.diffplug.gradle.swt'
SWT_VERSION sets the eclipse version from which to get SWT (e.g. 4.6.0).SWT_P2_REPO sets the p2 repository which is being used (ignores the SWT_VERSION property).SWT_P2_GROUP sets the maven group name for the downloaded artifacts, (defaults to ).| Constructor and Description |
|---|
NativeDepsPlugin() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyOnce(Project project)
Plugin application, which is guaranteed to execute only once.
|
apply, getPlugin, treeDefprotected void applyOnce(Project project)
ProjectPluginPlugin application, which is guaranteed to execute only once.
applyOnce in class ProjectPlugin