build: downgrade to JDK version 11

This is to properly support Android
This commit is contained in:
oSumAtrIX 2023-05-08 00:41:24 +02:00
parent 98f8eedecd
commit 9c53877888
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
2 changed files with 5 additions and 1 deletions

View File

@ -26,7 +26,7 @@ jobs:
- name: Setup JDK - name: Setup JDK
uses: actions/setup-java@v3 uses: actions/setup-java@v3
with: with:
java-version: '17' java-version: '11'
distribution: 'zulu' distribution: 'zulu'
cache: gradle cache: gradle
- name: Setup Node.js - name: Setup Node.js

View File

@ -45,6 +45,10 @@ java {
withSourcesJar() withSourcesJar()
} }
kotlin {
jvmToolchain(11)
}
publishing { publishing {
repositories { repositories {
if (System.getenv("GITHUB_ACTOR") != null) if (System.getenv("GITHUB_ACTOR") != null)