Skip to content

Commit

Permalink
fix(doc): use jre 8 instead of 11
Browse files Browse the repository at this point in the history
  • Loading branch information
stonebuzz committed Sep 30, 2021
1 parent dea92f2 commit 71032e6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ci/scripts/generate_documentation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@

DOC_PATH="development/code-documentation/$CIRCLE_BRANCH"

# install jre 8 for use by javadoc
sudo apt-get -y install openjdk-8-jre

# force javadoc to use jre 8
sudo update-alternatives --config javadoc
sudo alternatives --set javadoc /usr/lib/jvm/java-8-openjdk-amd64/bin/javadoc

# Generate javadoc this folder must be on .gitignore
javadoc -d $DOC_PATH -sourcepath ./app/src/main/java -subpackages org

Expand Down

0 comments on commit 71032e6

Please sign in to comment.