Class ProjectDepsPlugin

java.lang.Object
com.diffplug.gradle.ProjectPlugin
com.diffplug.gradle.eclipse.ProjectDepsPlugin
All Implemented Interfaces:
Plugin<Project>

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']) } ```
  • Constructor Details

    • ProjectDepsPlugin

      public ProjectDepsPlugin()
  • Method Details

    • applyOnce

      protected void applyOnce(Project project)
      Description copied from class: ProjectPlugin
      Plugin application, which is guaranteed to execute only once.
      Specified by:
      applyOnce in class ProjectPlugin