fix: replace Java toolchain with sourceCompatibility for fdroid compat
Some checks failed
CI / build (push) Has been cancelled

fdroid build environment has only JDK 21, toolchain auto-provisioning
is disabled. Use explicit sourceCompatibility/targetCompatibility instead.
This commit is contained in:
xtclovver 2026-05-01 23:54:50 +03:00
parent 7b1dc2df16
commit 2ed250d359
2 changed files with 3 additions and 4 deletions

View file

@ -14,5 +14,5 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
# Default app version for local builds. Release workflow overrides this from the git tag.
appVersionName=2.6.7
appVersionName=2.6.8
android.useAndroidX=true

View file

@ -4,9 +4,8 @@ plugins {
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
protobuf {