Class SpongeVersioningMetadataRule

  • All Implemented Interfaces:
    org.gradle.api.Action<org.gradle.api.artifacts.ComponentMetadataContext>, org.gradle.api.artifacts.ComponentMetadataRule

    @CacheableRule
    public class SpongeVersioningMetadataRule
    extends java.lang.Object
    implements org.gradle.api.artifacts.ComponentMetadataRule
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.gradle.api.attributes.Attribute<java.lang.String> API_TARGET  
      static org.gradle.api.attributes.Attribute<java.lang.String> MINECRAFT_TARGET  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(org.gradle.api.artifacts.ComponentMetadataContext ctx)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MINECRAFT_TARGET

        public static final org.gradle.api.attributes.Attribute<java.lang.String> MINECRAFT_TARGET
      • API_TARGET

        public static final org.gradle.api.attributes.Attribute<java.lang.String> API_TARGET
    • Constructor Detail

      • SpongeVersioningMetadataRule

        public SpongeVersioningMetadataRule()
    • Method Detail

      • execute

        public void execute​(org.gradle.api.artifacts.ComponentMetadataContext ctx)
        Specified by:
        execute in interface org.gradle.api.Action<org.gradle.api.artifacts.ComponentMetadataContext>