Class VelocityExtensionImpl
java.lang.Object
com.vouncherstudios.strawberry.internal.minecraft.plugin.VelocityExtensionImpl
- All Implemented Interfaces:
VelocityExtension
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.provider.SetProperty<String> authors()The authors of the plugin.org.gradle.api.provider.SetProperty<Dependency> The dependencies required to load before this plugin.org.gradle.api.provider.Property<String> The description of the plugin.org.gradle.api.provider.Property<String> id()The id of the plugin.org.gradle.api.provider.Property<String> main()The plugin's initial class file.org.gradle.api.provider.Property<String> name()The human-readable name of the plugin as to be used in descriptions and similar things.org.gradle.api.provider.Property<String> version()The version of the plugin.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface VelocityExtension
addDependencies, addDependencies, addDependency, addDependency, authors, description, id, main, name, version
-
Constructor Details
-
VelocityExtensionImpl
@Inject public VelocityExtensionImpl(@Nonnull org.gradle.api.model.ObjectFactory objects)
-
-
Method Details
-
main
Description copied from interface:VelocityExtensionThe plugin's initial class file. This main can't start with minecraft packages or derivative.- Specified by:
mainin interfaceVelocityExtension- Returns:
- a property providing the plugin's initial class file
-
version
Description copied from interface:VelocityExtensionThe version of the plugin. If not set, the version will be set to project's version.- Specified by:
versionin interfaceVelocityExtension- Returns:
- a property providing the version of the plugin
-
description
Description copied from interface:VelocityExtensionThe description of the plugin. If not set, the description will be set to project's description.- Specified by:
descriptionin interfaceVelocityExtension- Returns:
- a property providing the description of the plugin
-
id
Description copied from interface:VelocityExtensionThe 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:
idin interfaceVelocityExtension- Returns:
- a property providing the id for this plugin
-
name
Description copied from interface:VelocityExtensionThe human-readable name of the plugin as to be used in descriptions and similar things.- Specified by:
namein interfaceVelocityExtension- Returns:
- a property providing the plugin name
-
authors
Description copied from interface:VelocityExtensionThe authors of the plugin.- Specified by:
authorsin interfaceVelocityExtension- Returns:
- a property providing the author of the plugin
-
dependencies
Description copied from interface:VelocityExtensionThe dependencies required to load before this plugin.- Specified by:
dependenciesin interfaceVelocityExtension- Returns:
- a property providing the plugin dependencies
-