mirror of
https://github.com/recloudstream/cloudstream.git
synced 2026-03-13 15:19:43 +08:00
@@ -138,6 +138,14 @@ android {
|
||||
targetCompatibility = JavaVersion.toVersion(javaTarget.target)
|
||||
}
|
||||
|
||||
java {
|
||||
// Use Java 17 toolchain even if a higher JDK runs the build.
|
||||
// We still use Java 8 for now which higher JDKs have deprecated.
|
||||
toolchain {
|
||||
languageVersion.set(JavaLanguageVersion.of(libs.versions.jdkToolchain.get()))
|
||||
}
|
||||
}
|
||||
|
||||
lint {
|
||||
abortOnError = false
|
||||
checkReleaseBuilds = false
|
||||
|
||||
@@ -23,3 +23,6 @@ android.nonTransitiveRClass=true
|
||||
|
||||
org.gradle.caching=true
|
||||
org.gradle.configuration-cache=true
|
||||
|
||||
# Compiling with Java 8 is deprecated but we still use it for now
|
||||
android.javaCompile.suppressSourceTargetDeprecationWarning=true
|
||||
|
||||
@@ -48,6 +48,7 @@ workRuntime = "2.10.5"
|
||||
workRuntimeKtx = "2.10.5"
|
||||
|
||||
jvmTarget = "1.8"
|
||||
jdkToolchain = "17"
|
||||
minSdk = "21"
|
||||
compileSdk = "36"
|
||||
targetSdk = "36"
|
||||
|
||||
Reference in New Issue
Block a user