Updated gradle build file

This commit is contained in:
Frank 2023-12-18 16:50:52 +01:00
parent 5b09e48498
commit 9fac62238a

View file

@ -99,7 +99,7 @@ javadoc {
} }
task javadocJar(type: Jar, dependsOn: javadoc) { task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc' archiveClassifier = 'javadoc'
from javadoc.destinationDir from javadoc.destinationDir
} }
@ -107,7 +107,7 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
// if it is present. // if it is present.
// If you remove this task, sources will not be generated. // If you remove this task, sources will not be generated.
task sourcesJar(type: Jar, dependsOn: classes) { task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources' archiveClassifier = 'sources'
from sourceSets.main.allSource from sourceSets.main.allSource
} }