Class RepositoryPlugin

  • All Implemented Interfaces:
    net.kyori.mammoth.ProjectOrSettingsPlugin, org.gradle.api.Plugin<java.lang.Object>

    public class RepositoryPlugin
    extends java.lang.Object
    implements net.kyori.mammoth.ProjectOrSettingsPlugin
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void applyToProject​(@NotNull org.gradle.api.Project target, @NotNull org.gradle.api.plugins.PluginContainer plugins, @NotNull org.gradle.api.plugins.ExtensionContainer extensions, @NotNull org.gradle.api.tasks.TaskContainer tasks)  
      void applyToSettings​(@NotNull org.gradle.api.initialization.Settings target, @NotNull org.gradle.api.plugins.PluginContainer plugins, @NotNull org.gradle.api.plugins.ExtensionContainer extensions)  
      @Nullable org.gradle.util.GradleVersion minimumGradleVersion()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface net.kyori.mammoth.ProjectOrSettingsPlugin

        apply, isAppliedToSettingsOf
    • Constructor Detail

      • RepositoryPlugin

        public RepositoryPlugin()
    • Method Detail

      • applyToProject

        public void applyToProject​(@NotNull
                                   @NotNull org.gradle.api.Project target,
                                   @NotNull
                                   @NotNull org.gradle.api.plugins.PluginContainer plugins,
                                   @NotNull
                                   @NotNull org.gradle.api.plugins.ExtensionContainer extensions,
                                   @NotNull
                                   @NotNull org.gradle.api.tasks.TaskContainer tasks)
        Specified by:
        applyToProject in interface net.kyori.mammoth.ProjectOrSettingsPlugin
      • applyToSettings

        public void applyToSettings​(@NotNull
                                    @NotNull org.gradle.api.initialization.Settings target,
                                    @NotNull
                                    @NotNull org.gradle.api.plugins.PluginContainer plugins,
                                    @NotNull
                                    @NotNull org.gradle.api.plugins.ExtensionContainer extensions)
        Specified by:
        applyToSettings in interface net.kyori.mammoth.ProjectOrSettingsPlugin
      • minimumGradleVersion

        @Nullable
        public @Nullable org.gradle.util.GradleVersion minimumGradleVersion()
        Specified by:
        minimumGradleVersion in interface net.kyori.mammoth.ProjectOrSettingsPlugin