Class PaperExtensionImpl

java.lang.Object
com.vouncherstudios.strawberry.internal.minecraft.plugin.PaperExtensionImpl
All Implemented Interfaces:
PaperExtension

public class PaperExtensionImpl extends Object implements PaperExtension
  • Constructor Details

    • PaperExtensionImpl

      @Inject public PaperExtensionImpl(@Nonnull org.gradle.api.model.ObjectFactory objects)
  • Method Details

    • main

      @Nonnull public org.gradle.api.provider.Property<String> main()
      Description copied from interface: PaperExtension
      The plugin's initial class file. This main can't start with minecraft packages or derivative.
      Specified by:
      main in interface PaperExtension
      Returns:
      a property providing the plugin's initial class file
    • name

      @Nonnull public org.gradle.api.provider.Property<String> name()
      Description copied from interface: PaperExtension
      The name of the plugin. This name should be unique as to not conflict with other plugins. The plugin name may contain alphanumeric characters, dashes, and underscores.
      Specified by:
      name in interface PaperExtension
      Returns:
      a property providing the name for this plugin
    • version

      @Nonnull public org.gradle.api.provider.Property<String> version()
      Description copied from interface: PaperExtension
      The version of the plugin. If not set, the version will be set to project's version.
      Specified by:
      version in interface PaperExtension
      Returns:
      a property providing the version of the plugin
    • description

      @Nonnull public org.gradle.api.provider.Property<String> description()
      Description copied from interface: PaperExtension
      The description of the plugin. If not set, the description will be set to project's description.
      Specified by:
      description in interface PaperExtension
      Returns:
      a property providing the description of the plugin
    • authors

      @Nonnull public org.gradle.api.provider.SetProperty<String> authors()
      Description copied from interface: PaperExtension
      The authors of the plugin.
      Specified by:
      authors in interface PaperExtension
      Returns:
      a property providing the author of the plugin
    • load

      @Nonnull public org.gradle.api.provider.Property<LoadOrder> load()
      Description copied from interface: PaperExtension
      The phase of server-startup this plugin will load during.
      Specified by:
      load in interface PaperExtension
      Returns:
      a property providing the plugin's load order
    • dependencies

      @Nonnull public org.gradle.api.provider.SetProperty<Dependency> dependencies()
      Description copied from interface: PaperExtension
      The dependencies required to load before this plugin.
      Specified by:
      dependencies in interface PaperExtension
      Returns:
      a property providing the plugin dependencies
    • apiVersion

      @Nonnull public org.gradle.api.provider.Property<String> apiVersion()
      Description copied from interface: PaperExtension
      The API version which this plugin is designed to support.
      Specified by:
      apiVersion in interface PaperExtension
      Returns:
      a property providing the api version