Skip to content

Commit

Permalink
Merge pull request #410 from ThomasJClark/master
Browse files Browse the repository at this point in the history
v1.1.0 for real
  • Loading branch information
ThomasJClark committed Jan 22, 2016
2 parents caf22a7 + cc8b667 commit 5548663
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,6 @@ plugins {
apply plugin: 'nebula-aggregate-javadocs'


/*
* Gets the version name from the latest Git tag
* http://ryanharter.com/blog/2013/07/30/automatic-versioning-with-git-and-gradle/
*/
def getVersionName = { ->
def stdout = new ByteArrayOutputStream()
exec {
commandLine 'git', 'describe', '--tags'
standardOutput = stdout
}
return stdout.toString().trim().substring(1)
}

allprojects {
apply plugin: 'java'
apply plugin: 'application'
Expand All @@ -50,7 +37,7 @@ allprojects {
testCompile group: 'junit', name: 'junit', version: '4.12'
}

version = getVersionName()
version = '1.1.0'

compileJava {
options.compilerArgs << "-g"
Expand Down

0 comments on commit 5548663

Please sign in to comment.