Class VelocityExtensionImpl

java.lang.Object
com.vouncherstudios.strawberry.internal.minecraft.plugin.VelocityExtensionImpl
All Implemented Interfaces:
VelocityExtension

public class VelocityExtensionImpl extends Object implements VelocityExtension
  • Constructor Details

    • VelocityExtensionImpl

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

    • main

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

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

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

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

      @Nonnull public org.gradle.api.provider.Property<String> name()
      Description copied from interface: VelocityExtension
      The human-readable name of the plugin as to be used in descriptions and similar things.
      Specified by:
      name in interface VelocityExtension
      Returns:
      a property providing the plugin name
    • authors

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

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