Class ManifestBuilder

java.lang.Object
com.elo.gradle.osgi.utils.ManifestBuilder

public class ManifestBuilder extends Object
Builder for Manifest objects.
  • Method Details

    • withProject

      public ManifestBuilder withProject(org.gradle.api.Project project)
      Sets the project to get additional information from.
      Parameters:
      project - the project
      Returns:
      this builder
    • withBundle

      public ManifestBuilder withBundle(BundleExtension bundleExtension)
      Sets the bundle extension to get additional information from.
      Parameters:
      bundleExtension - the bundle extension
      Returns:
      this builder
    • build

      public org.gradle.api.java.archives.Manifest build()
      Builds the manifest according to the settings.
      Returns:
      the manifest
    • of

      public static ManifestBuilder of(org.gradle.api.java.archives.Manifest manifest)