blob: b416d4e7ffbd6974e22e9afe2f98373c6a00dd92 [file] [log] [blame]
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath group: 'pl.allegro.tech.build', name: 'axion-release-plugin', version: '1.8.3'
}
}
apply plugin: pl.allegro.tech.build.axion.release.ReleasePlugin
if(properties.get('build.type') == 'N') {
ext.set('release.forceSnapshot', true)
}
scmVersion {
tag {
prefix = 'v'
versionSeparator = '_'
}
versionIncrementer 'incrementPrerelease'
versionCreator 'versionWithBranch'
// localOnly = false
checks {
uncommittedChanges = false
aheadOfRemote = true
snapshotDependencies = false
}
repository {
pushTagsOnly = true
}
}