diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b20eb4..2170654 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: - name: Setup JDK uses: actions/setup-java@v3 with: - java-version: '17' + java-version: '11' distribution: 'zulu' cache: gradle - name: Setup Node.js diff --git a/build.gradle.kts b/build.gradle.kts index 904423d..dfe7ee5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -45,6 +45,10 @@ java { withSourcesJar() } +kotlin { + jvmToolchain(11) +} + publishing { repositories { if (System.getenv("GITHUB_ACTOR") != null)