From 81ec0e4140a4016f5b9c88d3400c5c181b6d1493 Mon Sep 17 00:00:00 2001 From: zaaarf Date: Sat, 11 May 2024 15:06:37 +0200 Subject: [PATCH] fix: use gitversion properly --- build.gradle | 6 +++--- 1 file 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