mirror of
https://github.com/zaaarf/route-cartographer.git
synced 2024-11-09 22:39:20 +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
22
build.gradle
22
build.gradle
|
@ -1,14 +1,28 @@
|
|||
plugins {
|
||||
id 'java'
|
||||
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()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'org.springframework:spring-web:5.3.31'
|
||||
implementation 'org.springframework:spring-web:5.3.31'
|
||||
}
|
Loading…
Reference in a new issue