File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 uses : ./.github/workflows/java-release.yml
3333 needs : rl-scanner
3434 with :
35- java-version : 17
35+ java-version : 17.0.19-tem
3636 secrets :
3737 ossr-username : ${{ secrets.OSSR_USERNAME }}
3838 ossr-token : ${{ secrets.OSSR_TOKEN }}
Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ tasks.withType(Javadoc).configureEach {
2020javadoc {
2121 // Specify the Java version that the project targets
2222 options. addStringOption(' -release' , " 17" )
23+ if (JavaVersion . current(). isJava9Compatible()) {
24+ options. addBooleanOption(' html5' , true )
25+ }
2326}
2427artifacts {
2528 archives sourcesJar, javadocJar
@@ -88,12 +91,6 @@ signing {
8891 sign publishing. publications. mavenJava
8992}
9093
91- javadoc {
92- if (JavaVersion . current(). isJava9Compatible()) {
93- options. addBooleanOption(' html5' , true )
94- }
95- }
96-
9794tasks. named(' publish' ). configure {
9895 dependsOn tasks. named(' assemble' )
9996}
You can’t perform that action at this time.
0 commit comments