Skip to content

Commit 2c73c83

Browse files
authored
Test javadoc (#14253)
1 parent 9fc8b20 commit 2c73c83

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/build-common.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,7 @@ jobs:
194194
cache-read-only: ${{ inputs.cache-read-only }}
195195

196196
- name: Build
197-
# javadoc task fails sporadically fetching https://docs.oracle.com/javase/8/docs/api/
198-
run: ./gradlew check spdxSbom -x javadoc -x spotlessCheck -PskipTests=true ${{ inputs.no-build-cache && '--no-build-cache' || '' }}
197+
run: ./gradlew check javadoc spdxSbom -x spotlessCheck -PskipTests=true ${{ inputs.no-build-cache && '--no-build-cache' || '' }}
199198

200199
- name: Check for jApiCmp diffs
201200
# The jApiCmp diff compares current to latest, which isn't appropriate for release branches
@@ -512,12 +511,10 @@ jobs:
512511
cache-read-only: ${{ inputs.cache-read-only }}
513512

514513
- name: Local publish of artifacts
515-
# javadoc task fails sporadically fetching https://docs.oracle.com/javase/8/docs/api/
516-
run: ./gradlew publishToMavenLocal -x javadoc
514+
run: ./gradlew publishToMavenLocal
517515

518516
- name: Local publish of gradle plugins
519-
# javadoc task fails sporadically fetching https://docs.oracle.com/javase/8/docs/api/
520-
run: ./gradlew publishToMavenLocal -x javadoc
517+
run: ./gradlew publishToMavenLocal
521518
working-directory: gradle-plugins
522519

523520
- name: Build distro

smoke-tests/images/quarkus/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,8 @@ tasks {
6565
sourcesJar {
6666
dependsOn(quarkusGenerateCode)
6767
}
68+
69+
javadoc {
70+
dependsOn(compileQuarkusGeneratedSourcesJava)
71+
}
6872
}

0 commit comments

Comments
 (0)