chore: versioning and archive name

This commit is contained in:
zaaarf 2024-01-20 19:55:50 +01:00
parent 1af4710a0c
commit 729bf6f2a7
No known key found for this signature in database
GPG key ID: C91CFF9E2262BBA1

View file

@ -1,9 +1,23 @@
plugins { plugins {
id 'java' id 'java'
id 'com.palantir.git-version' version '0.13.0'
} }
group = 'foo.zaaarf' group = 'foo.zaaarf'
version = '0.1' archivesBaseName = 'rc'
version = gitVersion().split('-').getAt(0).replace('.dirty', '')
java {
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
withSourcesJar()
withJavadocJar()
}
javadoc {
options {
links 'https://docs.spring.io/spring-framework/docs/5.3.31/javadoc-api/'
}
}
repositories { repositories {
mavenCentral() mavenCentral()