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