Class SmithyManifestUpdateAction

java.lang.Object
software.amazon.smithy.gradle.actions.SmithyManifestUpdateAction
All Implemented Interfaces:
org.gradle.api.Action<org.gradle.api.Task>

public final class SmithyManifestUpdateAction extends Object implements org.gradle.api.Action<org.gradle.api.Task>
Action that updates a JAR's manifest with Smithy-specific attributes.

This action adds projection tags to JAR manifest via the SmithyTags property. A number of headers are also included in the manifest to add basic build info such as JDK version used for the build and the build timestamp.

  • Constructor Details

    • SmithyManifestUpdateAction

      public SmithyManifestUpdateAction(org.gradle.api.Project project, Set<String> tags)
  • Method Details

    • execute

      public void execute(@Nonnull org.gradle.api.Task task)
      Specified by:
      execute in interface org.gradle.api.Action<org.gradle.api.Task>