Skip to content

Configuration

James Ridgway edited this page Sep 11, 2018 · 2 revisions

Configuration

This page details the aspects of the plugin that can be configured

Properties-based configuration

The following configuration attributes are specified via properties.

Remember:

  • You can set properties on the command line:
     ./gradlew clean build -PpropertyName=propertyValue
    
  • Or, you can add a gradle.properties files to the root of your project

Unreleased Version Template

This property configures the unreleased version format using freemarker configuration.

Property name:

gitflow.unreleasedVersionTemplate

Default value:

${major}.${minor}.${patch}.${commitsSinceLastTag}-${branch?replace("/", "_")}+sha.${commitId?substring(0,7)}${dirty?then(".dirty","")}

Clone this wiki locally