Skip to content
Open
Show file tree
Hide file tree
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
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,26 @@ jobs:
with:
access_token: ${{ github.token }}

documentation:
name: Generate Dokka Docs
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '11','17' ]
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'gradle'
- name: Generate Docs
run: make docs

test:
runs-on: ubuntu-latest
needs: cancel-previous
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BUMP ?= patch
FILE ?= empty

all: clean format lint lint-docs test coverage build
all: clean format lint lint-docs test coverage build docs
.PHONY: all

build:
Expand All @@ -17,7 +17,7 @@ coverage:
.PHONY: coverage

docs:
./gradlew dokkaHtml
./gradlew dokkaGenerateHtml
.PHONY: docs

format:
Expand Down
2 changes: 1 addition & 1 deletion forge-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ mavenPublishing {

configure(
KotlinJvm(
javadocJar = JavadocJar.Dokka("dokkaHtml"),
javadocJar = JavadocJar.Dokka("dokkaGenerateHtml"),
sourcesJar = true,
)
)
Expand Down
Loading