Skip to content

Commit

Permalink
Eh whatever
Browse files Browse the repository at this point in the history
  • Loading branch information
zack6849 committed Dec 6, 2015
1 parent 5f155b8 commit 692e330
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
apply plugin: 'java'
apply plugin: 'maven'

def getVersionName = { ->
def stdout = new ByteArrayOutputStream()
exec {
commandLine 'git', 'describe', '--tags'
standardOutput = stdout
}
return stdout.toString().trim()
}

group = 'com.zack6849'
version = 'v1.7.2'
version = getVersionName()

description = "SuperLogger"

Expand All @@ -21,3 +30,4 @@ dependencies {
compile 'commons-io:commons-io:2.4'
testCompile group: 'junit', name: 'junit', version:'3.8.1'
}

0 comments on commit 692e330

Please sign in to comment.