mirror of
https://github.com/zaaarf/lillero.git
synced 2024-11-21 23:14:51 +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'
|
archivesBaseName = 'lll'
|
||||||
version = gitVersion()
|
version = gitVersion()
|
||||||
|
|
||||||
java.toolchain.languageVersion = JavaLanguageVersion.of(8)
|
java {
|
||||||
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
targetCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
withSourcesJar()
|
||||||
|
withJavadocJar()
|
||||||
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
@ -20,4 +25,4 @@ dependencies {
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
|
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue