Package com.diffplug.gradle.eclipse
Class BuildPropertiesPlugin
java.lang.Object
com.diffplug.gradle.ProjectPlugin
com.diffplug.gradle.eclipse.BuildPropertiesPlugin
Uses [`build.properties`](https://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.pde.doc.user%2Fguide%2Ftools%2Feditors%2Fmanifest_editor%2Fbuild.htm)
to control a gradle build, and fixes the eclipse project classpath to include binary assets specified in `build.properties`.
Eclipse PDE uses a `build.properties` file to control the build process. Even if you aren't using PDE for
your build, the IDE will throw warnings if you don't keep the `build.properties` up to date.
This plugin reads the `build.properties` file, and uses that to setup the Gradle `processResources` task.
It also ensures that these resources are available on the IDE's classpath. This way your `build.properties`
can be the single source of truth for all the binary assets inside your plugin.
```groovy
apply plugin: 'com.diffplug.eclipse.buildproperties'
```
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidPlugin application, which is guaranteed to execute only once.Returns the bin.includes from the build.properties file.getBinIncludes(Project project) Returns the bin.incldes for this project.Methods inherited from class com.diffplug.gradle.ProjectPlugin
apply, getPlugin, treeDef
-
Constructor Details
-
BuildPropertiesPlugin
public BuildPropertiesPlugin()
-
-
Method Details
-
applyOnce
Description copied from class:ProjectPluginPlugin application, which is guaranteed to execute only once.- Specified by:
applyOncein classProjectPlugin
-
getBinIncludes
Returns the bin.incldes for this project. -
getBinIncludes
Returns the bin.includes from the build.properties file.
-