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.
apply plugin: 'com.diffplug.gradle.eclipse.projectdeps'
Can also be configured to replace binary dependencies with eclipse project dependencies:
eclipseProjectDeps {
replaceWithProject('some-external-lib')
replaceWithProject(['libA', 'libB', 'libC'])
}
Constructor and Description |
---|
ProjectDepsPlugin() |
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