From 9cc6ed16d37bff66b7d128a19abfcb497db6a66f Mon Sep 17 00:00:00 2001 From: zaaarf Date: Sat, 11 May 2024 15:08:46 +0200 Subject: fix: use gitversion properly --- build.gradle | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index 0719376..f7dcd94 100644 --- a/build.gradle +++ b/build.gradle @@ -4,10 +4,10 @@ plugins { } archivesBaseName = 'processor' -version = gitVersion() +version = versionDetails().lastTag java { - sourceCompatibility = targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8 withSourcesJar() withJavadocJar() } @@ -23,7 +23,3 @@ dependencies { implementation 'ftbsc:lll:0.5.0' implementation 'ftbsc.lll:mapper:0.3.0' } - -jar { - archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}" -} -- cgit v1.2.3-56-ga3b1