Class 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 Detail

      • ProjectDepsPlugin

        public ProjectDepsPlugin()
    • 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 class ProjectPlugin