Skip to content

Easy config

Compare
Choose a tag to compare
@qoomon qoomon released this 11 Feb 22:01
· 226 commits to master since this release

3.0.0

Features

  • simplify property replacement configuration

Breaking Changes

  • simplify property replacement configuration

    new config

    gitVersioning.apply {
      branch {
        pattern = 'master'
        versionFormat = '${version}'
        property {
          pattern = 'revision'
          valueFormat = '${branch-SNAPSHOT}'
        }
      }
    }

    old config

    gitVersioning.apply {
      branch {
        pattern = 'master'
        versionFormat = '${version}'
        property {
          pattern ='revision'
          value {
            format = '${branch-SNAPSHOT}'
          }
        }
      }
    }