mirror of
https://github.com/zaaarf/lillero.git
synced 2024-11-12 18:49:23 +01:00
build: should now also build sources and javadocs jar
This commit is contained in:
parent
f053099073
commit
8983a271f8
1 changed files with 7 additions and 2 deletions
|
@ -6,7 +6,12 @@ plugins {
|
|||
archivesBaseName = 'lll'
|
||||
version = gitVersion()
|
||||
|
||||
java.toolchain.languageVersion = JavaLanguageVersion.of(8)
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
withSourcesJar()
|
||||
withJavadocJar()
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
@ -20,4 +25,4 @@ dependencies {
|
|||
|
||||
jar {
|
||||
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue