Skip to content

build(gradle): add kotlin as java plugin to dokka #20

build(gradle): add kotlin as java plugin to dokka

build(gradle): add kotlin as java plugin to dokka #20

Workflow file for this run

name: Deploy Documentation
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set Up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '23'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: "8.11.1"
- name: Make gradlew Executable
run: chmod +x gradlew
- name: Build and Generate Docs
run: |
./gradlew dokkaGfm
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build/dokka
enable_jekyll: true