mirror of
https://github.com/zaaarf/geb-processor.git
synced 2024-11-10 03:09:20 +01:00
chore: fixed gitversion name mangling and added javadoc linking
This commit is contained in:
parent
773880f323
commit
0540858af5
1 changed files with 9 additions and 7 deletions
14
build.gradle
14
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' }
|
||||
|
@ -21,8 +28,3 @@ 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()}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue