id "eclipse"
}
+version = "git describe --tags".execute().text.trim()
+
sourceCompatibility = 1.8
targetCompatibility = 1.8
attributes(
"Built-By": System.getProperty("user.name"),
"Implementation-Vendor": "NASA Ames Research Center",
- "Implementation-Version": "8.0"
+ "Implementation-Version": version
)
}
description = "Builds the source distribution."
baseName = project.name
- version = "git rev-parse --short HEAD".execute().text.trim()
+ version = project.version
classifier = "src"
extension = "zip"
description = "Builds binary distribution."
baseName = project.name
- version = "git rev-parse --short HEAD".execute().text.trim()
+ version = project.version
extension = "zip"
destinationDir = buildDir