Package com.diffplug.gradle.eclipse
Class ProjectDepsPlugin
- java.lang.Object
-
- com.diffplug.gradle.ProjectPlugin
-
- com.diffplug.gradle.eclipse.ProjectDepsPlugin
-
public class ProjectDepsPlugin extends ProjectPlugin
Fixes an intermittent problem when generating eclipse project files where dependencies on other projects within the workspace aren't always resolved correctly within Eclipse. ```groovy apply plugin: 'com.diffplug.eclipse.projectdeps' ``` Can also be configured to replace binary dependencies with eclipse project dependencies: ```groovy eclipseProjectDeps { replaceWithProject('some-external-lib') replaceWithProject(['libA', 'libB', 'libC']) } ```
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProjectDepsPlugin.Legacy
-
Constructor Summary
Constructors Constructor Description ProjectDepsPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyOnce(Project project)
Plugin application, which is guaranteed to execute only once.-
Methods inherited from class com.diffplug.gradle.ProjectPlugin
apply, getPlugin, treeDef
-
-
-
-
Method Detail
-
applyOnce
protected void applyOnce(Project project)
Description copied from class:ProjectPlugin
Plugin application, which is guaranteed to execute only once.- Specified by:
applyOnce
in classProjectPlugin
-
-