Skip to content

Commit

Permalink
use axion-release for all subprojects
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed Jun 1, 2016
1 parent 42aeb5b commit 4d9febb
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 21 deletions.
41 changes: 22 additions & 19 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,33 +1,36 @@

plugins {
id 'pl.allegro.tech.build.axion-release' version '1.3.2'
id 'pl.allegro.tech.build.axion-release' version '1.3.4'
}

allprojects {
apply plugin: 'pl.allegro.tech.build.axion-release'
scmVersion {
tag {
prefix = 'v'
versionSeparator = ''
def origDeserialize=deserialize
//apend .0 to satisfy semver if the tag version is only X.Y
deserialize = { config, position, tagName ->
def orig = origDeserialize(config, position, tagName)
if (orig.split('\\.').length < 3) {
orig += ".0"
}
orig
}
}
}
project.version = scmVersion.version

}

apply plugin: 'idea'
apply plugin: 'groovy'
apply plugin: 'application'
apply plugin: 'pl.allegro.tech.build.axion-release'

mainClassName = 'org.rundeck.client.tool.App'
applicationName = 'rd'
defaultTasks 'clean', 'build'
scmVersion {
tag {
prefix = 'v'
versionSeparator = ''
def origDeserialize=deserialize
//apend .0 to satisfy semver if the tag version is only X.Y
deserialize = { config, position, tagName ->
def orig = origDeserialize(config, position, tagName)
if (orig.split('\\.').length < 3) {
orig += ".0"
}
orig
}
}
}

project.version = scmVersion.version



Expand Down
1 change: 0 additions & 1 deletion toolbelt-jewelcli/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version '0.1.0-SNAPSHOT'

apply plugin: 'java'

Expand Down
1 change: 0 additions & 1 deletion toolbelt/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version '0.1.0-SNAPSHOT'

apply plugin: 'java'
apply plugin: 'groovy'
Expand Down

0 comments on commit 4d9febb

Please sign in to comment.