summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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