Created
May 3, 2015 10:20
-
-
Save lokkju/58d1fd40b2481a452d1d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'pl.allegro.tech.build.axion-release' version '1.2.3' | |
id 'java' | |
id 'maven' | |
} | |
scmVersion { | |
tag { | |
prefix = '' | |
serialize = {config, version -> "$version-RELEASE"} | |
} | |
versionCreator 'versionWithBranch' | |
} | |
group = 'com.lokkju.propertydrill' | |
project.version = scmVersion.version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
put this in your build.gradle, git commit and push, gradle release; you now have a new release in github, versioned appropriately!