aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle6
1 files changed, 3 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle
index 169219c..ae50b46 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,11 +1,11 @@
plugins {
- id 'java'
- id 'com.palantir.git-version' version '0.13.0'
+ id 'java'
+ id 'com.palantir.git-version' version '0.13.0'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
archivesBaseName = 'mapping-writer'
-version = gitVersion().split('-').getAt(0).replace('dirty', '')
+version = versionDetails().lastTag
java {
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8