Class ProjectPlugin

    • Constructor Detail

      • ProjectPlugin

        public ProjectPlugin()
    • Method Detail

      • applyOnce

        protected abstract void applyOnce​(Project project)
        Plugin application, which is guaranteed to execute only once.
      • getPlugin

        @Deprecated
        public static <T extends Plugin<?>> T getPlugin​(Project project,
                                                        Class<T> pluginClazz)
        Deprecated.
        Returns the instance of the given plugin, by returning the existing or applying brand new, as appropriate.
      • treeDef

        public static com.diffplug.common.tree.TreeDef.Parented<Project> treeDef()
        A TreeDef for projects.