Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,13 @@ jobs:
if: matrix.java-version == 8
run: ant -noinput -buildfile CodenameOne/build.xml weeklyLibUpdate

- name: Set up Java 25 for JavaDocs
if: matrix.java-version == 8
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '25'

- name: Build JavaDocs
if: matrix.java-version == 8
run: |
Expand All @@ -263,7 +270,9 @@ jobs:
mkdir -p dist/javadoc
# Skip JavaDocSourceEmbed due to gist access issues in CI
cp -r src/* build/tempJavaSources/
find build/tempJavaSources ../Ports/CLDC11/src -name "*.java" | /usr/bin/grep -v /impl/ | /usr/bin/xargs javadoc --allow-script-in-comments -protected -d dist/javadoc -windowtitle "Codename One API" || true
# Suppress doclint noise on modern JDKs (e.g., Java 25) while keeping output consistent.
# Patch java.base with CLDC11 stubs to avoid module conflicts for java.* packages.
find build/tempJavaSources ../Ports/CLDC11/src -name "*.java" | /usr/bin/xargs javadoc --allow-script-in-comments --patch-module java.base=../Ports/CLDC11/src/java -exclude com.codename1.impl -Xdoclint:none -quiet -protected -d dist/javadoc -windowtitle "Codename One API" || true
cd dist/javadoc
zip -r ../../javadocs.zip *
cd ..
Expand Down Expand Up @@ -339,4 +348,3 @@ jobs:
name: JavaSE.jar
path: Ports/JavaSE/dist/JavaSE.jar


Loading