Skip to content

Fix Kotlin multiplatform support when the plugin is applied later. #13

Fix Kotlin multiplatform support when the plugin is applied later.

Fix Kotlin multiplatform support when the plugin is applied later. #13

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
java: [17, 21]
runs-on: ubuntu-22.04
steps:
- name: "Checkout"
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: "Set up Java"
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: ${{ matrix.java }}
- name: "Set up Gradle"
uses: gradle/actions/setup-gradle@v3
- name: "Gradle Build and Test"
run: ./gradlew build check --stacktrace --parallel
- name: "Upload artifacts"
uses: actions/upload-artifact@v4
if: matrix.java == 17
with:
name: Artifacts
path: ./build/libs/