Update JavaVersion from 11 to 17.

Needed by Gradle V8.  Error message:

* What went wrong:
Execution failed for task ':app:kaptGenerateStubsDebugKotlin'.
> 'compileDebugJavaWithJavac' task (current target is 11) and 'kaptGenerateStubsDebugKotlin' task (current target is 17) jvm target compatibility should be set to the same Java version.
This commit is contained in:
Hugh Daschbach 2023-11-06 15:50:46 -08:00
parent e87830e17b
commit 02eb3445ab
1 changed files with 3 additions and 3 deletions

View File

@ -36,8 +36,8 @@ androidGitVersion {
android {
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
namespace = "audio.funkwhale.ffa"
@ -47,7 +47,7 @@ android {
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
jvmTarget = JavaVersion.VERSION_17.toString()
}
buildFeatures {