Class ManifestUpdateAction

  • All Implemented Interfaces:
    org.gradle.api.Action<org.gradle.api.Project>

    public class ManifestUpdateAction
    extends java.lang.Object
    implements org.gradle.api.Action<org.gradle.api.Project>
    Overrides specified Manifest entries.
    • Constructor Summary

      Constructors 
      Constructor Description
      ManifestUpdateAction​(org.jboss.gm.common.model.ManipulationModel alignmentModel)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(org.gradle.api.Project project)
      Used to override / supplement certain values within the final MANIFEST.MF file.
      • Methods inherited from class java.lang.Object

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

      • ManifestUpdateAction

        public ManifestUpdateAction​(org.jboss.gm.common.model.ManipulationModel alignmentModel)
    • Method Detail

      • execute

        public void execute​(org.gradle.api.Project project)
        Used to override / supplement certain values within the final MANIFEST.MF file. We currently update / or add the following
        • Implementation-Version
        • Specification-Version
        • Bundle-Version
        • Build-Jdk
        Set if not present:
        • Implementation-Title
        • Specification-Title
        • Specification-Vendor
        • Implementation-Vendor
        • Implementation-Vendor-Id
        • Bundle-Name
        Specified by:
        execute in interface org.gradle.api.Action<org.gradle.api.Project>
        Parameters:
        project - the current Gradle project