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'
// (configuration block below is optional)
swtNativeDeps {
version = '4.5.2' // currently supported: 4.4.2, 4.5.2, defaults to the latest available
}
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, treeDef
protected void applyOnce(Project project)
ProjectPlugin
Plugin application, which is guaranteed to execute only once.
applyOnce
in class ProjectPlugin