Skip to content

Commit

Permalink
For #45: Support new Doclet API and upgrade to Java 17.
Browse files Browse the repository at this point in the history
  • Loading branch information
agi committed Nov 22, 2021
1 parent 5e48565 commit 86a279d
Show file tree
Hide file tree
Showing 12 changed files with 754 additions and 446 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- name: Set up JDK 17
uses: actions/setup-java@main
with:
java-version: 1.8
java-version: 17
distribution: 'adopt'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
Expand Down
6 changes: 6 additions & 0 deletions apidoc-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ switch (JavaVersion.current()) {
case JavaVersion.VERSION_1_9:
case JavaVersion.VERSION_1_10:
case JavaVersion.VERSION_11:
case JavaVersion.VERSION_12:
case JavaVersion.VERSION_13:
case JavaVersion.VERSION_14:
case JavaVersion.VERSION_15:
case JavaVersion.VERSION_16:
case JavaVersion.VERSION_17:
case JavaVersion.VERSION_HIGHER:
javadocExecutable = "${System.properties['java.home']}/bin/javadoc"
break
Expand Down
Loading

0 comments on commit 86a279d

Please sign in to comment.