aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle8
1 files changed, 2 insertions, 6 deletions
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()}"
-}