Interface MetadataContainerConfiguration

All Known Implementing Classes:
GerdaPluginExtension

public interface MetadataContainerConfiguration
A configuration that can specify a metadata container
  • Method Details

    • getLicense

      @Input org.gradle.api.provider.Property<String> getLicense()
      License of the output artifact.
      Returns:
      the artifact license
    • license

      default void license(String license)
      Set the license.
      Parameters:
      license - the new license
    • getMappings

      @Optional @Input org.gradle.api.provider.Property<String> getMappings()
      Get the mappings notation, as described in DependencyHandler.

      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

      default void mappings(String mappings)
      Set the mappings.
      Parameters:
      mappings - the mappings dependency notation
      See Also:
    • getLoader

      Get information about the plugin loader.
      Returns:
      the loader
    • loader

      default void loader(org.gradle.api.Action<? super ContainerLoaderConfiguration> action)
    • getGlobal

      Get the global configuration that plugins may inherit from.
      Returns:
      the global configuration
    • global

      default void global(org.gradle.api.Action<? super PluginInheritableConfiguration> action)
    • 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

      default void plugin(String name, org.gradle.api.Action<? super PluginConfiguration> action)