Class ManifestUpdateAction
java.lang.Object
org.jboss.pnc.gradlemanipulator.manipulation.actions.ManifestUpdateAction
- All Implemented Interfaces:
org.gradle.api.Action<org.gradle.api.Project>
public class ManifestUpdateAction
extends Object
implements org.gradle.api.Action<org.gradle.api.Project>
Overrides specified Manifest entries.
-
Constructor Summary
ConstructorsConstructorDescriptionManifestUpdateAction(org.jboss.pnc.gradlemanipulator.common.model.ManipulationModel alignmentModel) Creates a new manifest update action with the specified alignment model. -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(org.gradle.api.Project project) Used to override / supplement certain values within the final MANIFEST.MF file.
-
Constructor Details
-
ManifestUpdateAction
public ManifestUpdateAction(org.jboss.pnc.gradlemanipulator.common.model.ManipulationModel alignmentModel) Creates a new manifest update action with the specified alignment model.- Parameters:
alignmentModel- the alignment model
-
-
Method Details
-
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
- Implementation-Title
- Specification-Title
- Specification-Vendor
- Implementation-Vendor
- Implementation-Vendor-Id
- Bundle-Name
- Specified by:
executein interfaceorg.gradle.api.Action<org.gradle.api.Project>- Parameters:
project- the current Gradle project
-