Fix inconsistent Java versions
Some checks failed
Build & Test / Validate (push) Successful in 28s
Build & Test / Run Unit Tests (push) Has been cancelled

This commit is contained in:
William Brawner 2024-11-16 18:12:34 -07:00
parent 0b26a16f1f
commit 2649e1e6d2
Signed by: wbrawner
GPG key ID: 8FF12381C6C90D35
2 changed files with 4 additions and 7 deletions

View file

@ -15,7 +15,7 @@ jobs:
uses: https://git.wbrawner.com/actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
java-version: '21'
- name: Validate Gradle Wrapper
uses: https://git.wbrawner.com/gradle/actions/wrapper-validation@v4
unit_tests:
@ -29,7 +29,7 @@ jobs:
uses: https://git.wbrawner.com/actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
java-version: '21'
- name: Setup Android SDK
uses: https://git.wbrawner.com/android-actions/setup-android@v3
- name: Setup Gradle
@ -56,7 +56,7 @@ jobs:
# uses: https://git.wbrawner.com/actions/setup-java@v3
# with:
# distribution: 'zulu'
# java-version: '17'
# java-version: '21'
# - name: Build with Gradle
# uses: https://git.wbrawner.com/gradle/gradle-build-action@v2
# with:

View file

@ -7,6 +7,7 @@ plugins {
}
kotlin {
jvmToolchain(21)
androidTarget()
listOf(iosArm64(), iosSimulatorArm64()).forEach {
it.binaries.framework {
@ -66,10 +67,6 @@ android {
defaultConfig {
minSdk = libs.versions.minSdk.get().toInt()
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
buildTypes {
release {
consumerProguardFiles("proguard-rules.pro")