Sets compileJava target to 17 to work with Flamingo

This commit is contained in:
Óscar García Amor 2023-04-18 14:34:05 +02:00
parent c6c58262af
commit 33e4913761
No known key found for this signature in database
GPG Key ID: E18B2370D3D566EE
5 changed files with 9 additions and 9 deletions

2
.idea/compiler.xml generated
View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="CompilerConfiguration"> <component name="CompilerConfiguration">
<bytecodeTargetLevel target="11" /> <bytecodeTargetLevel target="17" />
</component> </component>
</project> </project>

View File

@ -40,7 +40,7 @@ allprojects {
// Set Kotlin JVM target to the same for all subprojects // Set Kotlin JVM target to the same for all subprojects
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions { kotlinOptions {
jvmTarget = "11" jvmTarget = "17"
} }
} }
} }
@ -48,4 +48,4 @@ allprojects {
wrapper { wrapper {
gradleVersion(libs.versions.gradle.get()) gradleVersion(libs.versions.gradle.get())
distributionType("all") distributionType("all")
} }

View File

@ -16,8 +16,8 @@ android {
} }
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_11 sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_17
} }
sourceSets { sourceSets {

View File

@ -29,6 +29,6 @@ if (isCodeQualityEnabled) {
config = files("${rootProject.projectDir}/detekt-config.yml") config = files("${rootProject.projectDir}/detekt-config.yml")
} }
} }
tasks.detekt.jvmTarget = "11" tasks.detekt.jvmTarget = "17"
} }
} }

View File

@ -50,7 +50,7 @@ android {
} }
kotlinOptions { kotlinOptions {
jvmTarget = "11" jvmTarget = "17"
} }
buildFeatures { buildFeatures {
@ -59,8 +59,8 @@ android {
} }
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_11 sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_17
} }
kapt { kapt {