Class SpongePluginGradle

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

    public final class SpongePluginGradle
    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)  
      • 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, minimumGradleVersion
    • Constructor Detail

      • SpongePluginGradle

        public SpongePluginGradle()
    • 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