Package fun.fotontv.gradle.plugin
Class GerdaPluginExtension
java.lang.Object
fun.fotontv.gradle.plugin.GerdaPluginExtension
- All Implemented Interfaces:
MetadataContainerConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.gradle.api.provider.Property<String>voidapiVersion(String version) Get the global configuration that plugins may inherit from.org.gradle.api.provider.Property<String>License of the output artifact.Get information about the plugin loader.org.gradle.api.provider.Property<String>Get the mappings notation, as described inDependencyHandler.org.gradle.api.NamedDomainObjectContainer<PluginConfiguration>Get a container to which individual plugins can be registered.org.gradle.api.provider.Property<Boolean>voidinjectRepositories(boolean value) protected org.gradle.api.provider.Property<GerdaPlatform>platform()voidplatform(GerdaPlatform platform)
-
Constructor Details
-
GerdaPluginExtension
@Inject public GerdaPluginExtension(org.gradle.api.model.ObjectFactory factory)
-
-
Method Details
-
getLicense
Description copied from interface:MetadataContainerConfigurationLicense of the output artifact.- Specified by:
getLicensein interfaceMetadataContainerConfiguration- Returns:
- the artifact license
-
getMappings
Description copied from interface:MetadataContainerConfigurationGet the mappings notation, as described inDependencyHandler.This indicates the Minecraft mappings the mod will be compiled into for distribution. Handling of this attribute is runtime-dependent.
- Specified by:
getMappingsin interfaceMetadataContainerConfiguration- Returns:
- the mappings used
-
getLoader
Description copied from interface:MetadataContainerConfigurationGet information about the plugin loader.- Specified by:
getLoaderin interfaceMetadataContainerConfiguration- Returns:
- the loader
-
getGlobal
Description copied from interface:MetadataContainerConfigurationGet the global configuration that plugins may inherit from.- Specified by:
getGlobalin interfaceMetadataContainerConfiguration- Returns:
- the global configuration
-
getPlugins
Description copied from interface:MetadataContainerConfigurationGet a container to which individual plugins can be registered.- Specified by:
getPluginsin interfaceMetadataContainerConfiguration- Returns:
- the plugin container
-
platform
-
platform
-
apiVersion
-
apiVersion
-
injectRepositories
-
injectRepositories
public void injectRepositories(boolean value)
-