Skip to content

Commit

Permalink
Fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Syer10 committed Nov 22, 2024
1 parent 3c3ac1b commit 3b8f04b
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions app/android/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile

plugins {
id("com.android.application")
kotlin("android")
Expand Down Expand Up @@ -35,12 +38,6 @@ android {
}
}

kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(8))
}
}

dependencies {
implementation(projects.app.common)

Expand Down Expand Up @@ -68,3 +65,9 @@ dependencies {

coreLibraryDesugaring(Dependencies.desugar)
}

tasks.withType<KotlinJvmCompile> {
compilerOptions {
jvmTarget = JvmTarget.JVM_1_8
}
}

0 comments on commit 3b8f04b

Please sign in to comment.