mirror of
https://github.com/zaaarf/route-cartographer.git
synced 2024-12-04 16:14:53 +01:00
chore: versioning and archive name
This commit is contained in:
parent
1af4710a0c
commit
729bf6f2a7
1 changed files with 18 additions and 4 deletions
16
build.gradle
16
build.gradle
|
@ -1,9 +1,23 @@
|
|||
plugins {
|
||||
id 'java'
|
||||
id 'com.palantir.git-version' version '0.13.0'
|
||||
}
|
||||
|
||||
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 {
|
||||
mavenCentral()
|
||||
|
|
Loading…
Reference in a new issue