summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle3
1 files changed, 1 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle
index 0b495ce..c4af69f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -5,7 +5,7 @@ plugins {
}
archivesBaseName = 'mapping-writer'
-version = gitVersion()
+version = gitVersion().split('-').getAt(0).replace('dirty', '')
java {
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
@@ -26,7 +26,6 @@ dependencies {
}
jar {
- archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
manifest {
attributes 'Main-Class': 'ftbsc.lll.mapper.writer.MappingWriter'
}