diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2023-06-19 22:18:29 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2023-06-19 22:18:29 +0530 |
commit | cf8ec3f658e14f615ed14d8a21f427af31a875a3 (patch) | |
tree | 73a3c611b21a9b3a09b4f127db3f129110a0db77 /autofill-parser | |
parent | efeeb3a6cd19d238087d12893a7f501df01e672b (diff) |
fix(autofill-parser): restore older stdlib and language version
Diffstat (limited to 'autofill-parser')
-rw-r--r-- | autofill-parser/build.gradle.kts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/autofill-parser/build.gradle.kts b/autofill-parser/build.gradle.kts index 814c3cc0..137aa2a1 100644 --- a/autofill-parser/build.gradle.kts +++ b/autofill-parser/build.gradle.kts @@ -4,6 +4,9 @@ */ @file:Suppress("UnstableApiUsage") +import org.jetbrains.kotlin.gradle.dsl.KotlinVersion +import org.jetbrains.kotlin.gradle.tasks.KotlinCompile + plugins { id("com.github.android-password-store.published-android-library") id("com.github.android-password-store.kotlin-android") @@ -19,7 +22,14 @@ android { namespace = "com.github.androidpasswordstore.autofillparser" } +tasks.withType<KotlinCompile>().configureEach { + compilerOptions { + languageVersion.set(KotlinVersion.KOTLIN_1_7) + } +} + dependencies { + implementation(platform(libs.kotlin1710.bom)) implementation(libs.androidx.annotation) implementation(libs.androidx.autofill) implementation(libs.androidx.core.ktx) |