Moved properties to package location.
This commit is contained in:
parent
a0995c3024
commit
27ab841a85
4 changed files with 60 additions and 9 deletions
10
build.gradle
10
build.gradle
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue