Moved properties to package location.

This commit is contained in:
Erik C. Thauvin 2015-12-02 21:07:45 -08:00
parent a0995c3024
commit 27ab841a85
4 changed files with 60 additions and 9 deletions

View file

@ -45,12 +45,10 @@ compileJava {
jar {
doFirst {
def props = new Properties()
file(buildProps).withInputStream { stream -> props.load(stream) }
version = version + '.' + props.get(buildProp)
}
archiveName = archiveName.toLowerCase()
def props = new Properties()
file(buildProps).withInputStream { stream -> props.load(stream) }
version = version + '.' + props.get(buildProp)
archiveName = archiveName.toLowerCase()
manifest.attributes('Main-Class': mainClassName)
}