diff options
author | zaaarf <me@zaaarf.foo> | 2024-05-11 15:08:46 +0200 |
---|---|---|
committer | zaaarf <me@zaaarf.foo> | 2024-05-11 15:08:46 +0200 |
commit | 9cc6ed16d37bff66b7d128a19abfcb497db6a66f (patch) | |
tree | da215262520168c45ddca3e55e9c477dd43329bc | |
parent | d98eab7e7db9c32713da17399fce6a7e91127a38 (diff) |
fix: use gitversion properlyfeature/mapper-library
-rw-r--r-- | build.gradle | 8 |
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()}" -} |