Class PaperExtensionImpl
java.lang.Object
com.vouncherstudios.strawberry.internal.minecraft.plugin.PaperExtensionImpl
- All Implemented Interfaces:
PaperExtension
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.provider.Property<String> The API version which this plugin is designed to support.org.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<LoadOrder> load()The phase of server-startup this plugin will load during.org.gradle.api.provider.Property<String> main()The plugin's initial class file.org.gradle.api.provider.Property<String> name()The name of the plugin.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 PaperExtension
addDependencies, addDependencies, addDependency, addDependency, apiVersion, authors, description, load, main, name, version
-
Constructor Details
-
PaperExtensionImpl
@Inject public PaperExtensionImpl(@Nonnull org.gradle.api.model.ObjectFactory objects)
-
-
Method Details
-
main
Description copied from interface:PaperExtensionThe plugin's initial class file. This main can't start with minecraft packages or derivative.- Specified by:
mainin interfacePaperExtension- Returns:
- a property providing the plugin's initial class file
-
name
Description copied from interface:PaperExtensionThe 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:
namein interfacePaperExtension- Returns:
- a property providing the name for this plugin
-
version
Description copied from interface:PaperExtensionThe version of the plugin. If not set, the version will be set to project's version.- Specified by:
versionin interfacePaperExtension- Returns:
- a property providing the version of the plugin
-
description
Description copied from interface:PaperExtensionThe description of the plugin. If not set, the description will be set to project's description.- Specified by:
descriptionin interfacePaperExtension- Returns:
- a property providing the description of the plugin
-
authors
Description copied from interface:PaperExtensionThe authors of the plugin.- Specified by:
authorsin interfacePaperExtension- Returns:
- a property providing the author of the plugin
-
load
Description copied from interface:PaperExtensionThe phase of server-startup this plugin will load during.- Specified by:
loadin interfacePaperExtension- Returns:
- a property providing the plugin's load order
-
dependencies
Description copied from interface:PaperExtensionThe dependencies required to load before this plugin.- Specified by:
dependenciesin interfacePaperExtension- Returns:
- a property providing the plugin dependencies
-
apiVersion
Description copied from interface:PaperExtensionThe API version which this plugin is designed to support.- Specified by:
apiVersionin interfacePaperExtension- Returns:
- a property providing the api version
-