diff options
author | zaaarf <me@zaaarf.foo> | 2024-01-20 19:55:50 +0100 |
---|---|---|
committer | zaaarf <me@zaaarf.foo> | 2024-01-20 19:55:50 +0100 |
commit | 729bf6f2a752bf16724401eed5f470276fd38a39 (patch) | |
tree | a5b54541753b10863b0e695c967763285cdac0aa | |
parent | 1af4710a0ca3dac4e94be8ffbf0b16aa64d1435b (diff) |
chore: versioning and archive name0.1.0
-rw-r--r-- | build.gradle | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle index 18668a5..622dfbd 100644 --- a/build.gradle +++ b/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' }
\ No newline at end of file |