mirror of
https://github.com/zaaarf/geb-processor.git
synced 2024-11-22 09:24:48 +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
16
build.gradle
16
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()}"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue