A plugin for the Gradle build system that sets manifest data for JAr and WAr artifacts inferred from a project's Git status.
plugins {
id 'com.github.dispader.manifesto' version '1.0.13'
}The plugin only affects configurations for the groovy, java, and war plugins; and only produces meaningful results for Git projects.
If the conventional project.group is defined (for the top-level project), this value will be used to set the Implementation-Vendor-Id.
Some elements of manifests which cannot be determined from the Git project status or the default project configuration can be set via the plugin's configuration object.
vendorsetsSpecification-VendorandImplementation-Vendorvendor_idsetsImplementation-Vendor-Id(and overridesproject.groupdefault)urlsetsImplementation-URL
manifesto {
vendor = 'Jake Gage'
vendor_id = 'com.github.dispader'
url = 'https://github.com/Dispader/manifesto'
}Manifest-Versionis set to1.0Specification-TitleandImplementation-Titleare set to the GradlerootProject.nameSpecification-VersionandImplementation-Versionare set based on Git commit status (seegit describe)- IFF no version can be determined via a
git describe, and a GradlerootProject.versioncan be, this value will be used instead
- IFF no version can be determined via a
Implementation-Timestampis set to the build time