Skip to content

Commit

Permalink
build.gradle: re-order the script
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jul 7, 2024
1 parent 7dc10d2 commit 8cb65e9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ jar {
}
}

javadoc.dependsOn('compileTestJava')
java.withJavadocJar()
javadocJar { archiveBaseName = project.ext.baseName }

Expand All @@ -259,8 +260,6 @@ tasks.register('sourcesJar', Jar) {
from 'src/main/java' // default is ".allSource", which includes resources
}

javadoc.dependsOn('compileTestJava')

publishing {
publications {
maven(MavenPublication) {
Expand Down

0 comments on commit 8cb65e9

Please sign in to comment.