aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
author zaaarf <me@zaaarf.foo>2023-09-09 00:56:13 +0200
committer zaaarf <me@zaaarf.foo>2023-09-09 00:56:13 +0200
commit0540858af5a70007dd92d4f862f53e81ff112691 (patch)
tree1b57e0279e6117f4b41ec4c5764dc6143da81e72 /build.gradle
parent773880f3233140c8a1b717ca7b717726c5803f95 (diff)
chore: fixed gitversion name mangling and added javadoc linking
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle16
1 files changed, 9 insertions, 7 deletions
diff --git a/build.gradle b/build.gradle
index 3c07005..495096a 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4,7 +4,7 @@ plugins {
}
archivesBaseName = 'processor'
-version = gitVersion()
+version = gitVersion().split('-').getAt(0).replace('dirty', '')
java {
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
@@ -12,6 +12,13 @@ java {
withJavadocJar()
}
+javadoc {
+ options {
+ links 'https://geb.fantabos.co/javadoc/geb/'
+ links 'https://square.github.io/javapoet/javadoc/javapoet/'
+ }
+}
+
repositories {
mavenCentral()
maven { url 'https://maven.fantabos.co' }
@@ -20,9 +27,4 @@ repositories {
dependencies {
implementation 'ftbsc:geb:0.2.0'
implementation 'com.squareup:javapoet:1.13.0'
-}
-
-jar {
- from sourceSets.main.output
- archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
-}
+} \ No newline at end of file