deps: update to java 11

Update to Java 11 instead of Java 8.

Seems to work fine.
This commit is contained in:
Alexander Capehart 2023-01-29 17:58:41 -07:00
parent f8d1a880d4
commit 2413edfd5e
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47

View file

@ -22,14 +22,13 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
// ExoPlayer, AndroidX, and Material Components all need Java 8 to compile.
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = "1.8"
jvmTarget = "11"
freeCompilerArgs += "-Xjvm-default=all"
}
@ -43,17 +42,17 @@ android {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
dependenciesInfo {
includeInApk = false
includeInBundle = false
}
}
}
buildFeatures {
viewBinding true
}
dependenciesInfo {
includeInApk = false
includeInBundle = false
}
}
dependencies {