Package com.elo.gradle.osgi.utils
Class ManifestBuilder
java.lang.Object
com.elo.gradle.osgi.utils.ManifestBuilder
Builder for
Manifest objects.-
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.java.archives.Manifestbuild()Builds the manifest according to the settings.static ManifestBuilderof(org.gradle.api.java.archives.Manifest manifest) withBundle(BundleExtension bundleExtension) Sets the bundle extension to get additional information from.withProject(org.gradle.api.Project project) Sets the project to get additional information from.
-
Method Details
-
withProject
Sets the project to get additional information from.- Parameters:
project- the project- Returns:
- this builder
-
withBundle
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
-