mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-09 21:17:54 -05:00
Fix javadocs to allow build to pass in JDK 17 (#4834)
- Added missing javadocs so that javadoc doclint passes against JDK 17 (invoke by Besu gradle build). - Exclude following packages from javadoc lint: org.hyperledger.besu.privacy.contracts.generated org.hyperledger.besu.tests.acceptance.* - Temporarily exclude ethereum and evm submodule for doc lint checks. - Run the javadoc task using GitHub actions (use Java 17) to report any javadoc errors during the PR builds - Updating plugin-api build.gradle with new hash as javadoc comments caused it to change Signed-off-by: Usman Saleem <usman@usmans.info>
This commit is contained in:
16
.github/workflows/checks.yml
vendored
16
.github/workflows/checks.yml
vendored
@@ -19,4 +19,18 @@ jobs:
|
||||
java-version: 11
|
||||
cache: gradle
|
||||
- name: spotless
|
||||
run: ./gradlew --no-daemon --parallel clean spotlessCheck
|
||||
run: ./gradlew --no-daemon --parallel clean spotlessCheck
|
||||
javadoc_17:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.actor != 'dependabot[bot]' }}
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v3
|
||||
- name: Set up Java 17
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: adopt
|
||||
java-version: 17
|
||||
cache: gradle
|
||||
- name: javadoc (JDK 17)
|
||||
run: ./gradlew --no-daemon clean javadoc
|
||||
Reference in New Issue
Block a user