Package fun.fotontv.gradle.plugin.config
Interface MetadataContainerConfiguration
- All Known Implementing Classes:
GerdaPluginExtension
public interface MetadataContainerConfiguration
A configuration that can specify a metadata container
-
Method Summary
Modifier and TypeMethodDescriptionGet 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.default voidglobal(org.gradle.api.Action<? super PluginInheritableConfiguration> action) default voidSet the license.default voidloader(org.gradle.api.Action<? super ContainerLoaderConfiguration> action) default voidSet the mappings.default voidplugin(String name, org.gradle.api.Action<? super PluginConfiguration> action) default voidplugins(org.gradle.api.Action<? super org.gradle.api.NamedDomainObjectContainer<PluginConfiguration>> action)
-
Method Details
-
getLicense
License of the output artifact.- Returns:
- the artifact license
-
license
Set the license.- Parameters:
license- the new license
-
getMappings
Get 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.
- Returns:
- the mappings used
-
mappings
Set the mappings.- Parameters:
mappings- the mappings dependency notation- See Also:
-
getLoader
ContainerLoaderConfiguration getLoader()Get information about the plugin loader.- Returns:
- the loader
-
loader
-
getGlobal
PluginInheritableConfiguration getGlobal()Get the global configuration that plugins may inherit from.- Returns:
- the global configuration
-
global
-
getPlugins
org.gradle.api.NamedDomainObjectContainer<PluginConfiguration> getPlugins()Get a container to which individual plugins can be registered.- Returns:
- the plugin container
-
plugins
default void plugins(org.gradle.api.Action<? super org.gradle.api.NamedDomainObjectContainer<PluginConfiguration>> action) -
plugin
-