Dispader / manifesto

A plugin for the Gradle build system that sets manifest data for JAr and WAr artifacts inferred from a project's Git status.
https://plugins.gradle.org/plugin/com.github.dispader.manifesto
Apache License 2.0
4 stars 3 forks source link
gradle hacktoberfest hacktoberfest2020

Manifesto plugin

Release Build Status

A plugin for the Gradle build system that sets manifest data for JAr and WAr artifacts inferred from a project's Git status.

Usage

Applying the plugin

plugins {
    id 'com.github.dispader.manifesto' version '1.0.13'
}

Prerequisites

The plugin only affects configurations for the groovy, java, and war plugins; and only produces meaningful results for Git projects.

Configuration

default configuration

If the conventional project.group is defined (for the top-level project), this value will be used to set the Implementation-Vendor-Id.

extension configuration

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.

manifesto {
    vendor = 'Jake Gage'
    vendor_id = 'com.github.dispader'
    url = 'https://github.com/Dispader/manifesto'
}

Behavior