build: should now also build sources and javadocs jar

This commit is contained in:
zaaarf 2023-03-04 15:07:12 +01:00
parent f053099073
commit 8983a271f8
No known key found for this signature in database
GPG key ID: AD8563472FD43386

View file

@ -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()