mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-09-01 14:55:19 +00:00
fix(autofill-parser): restore older stdlib and language version
This commit is contained in:
@@ -4,6 +4,9 @@
|
|||||||
*/
|
*/
|
||||||
@file:Suppress("UnstableApiUsage")
|
@file:Suppress("UnstableApiUsage")
|
||||||
|
|
||||||
|
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
|
||||||
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("com.github.android-password-store.published-android-library")
|
id("com.github.android-password-store.published-android-library")
|
||||||
id("com.github.android-password-store.kotlin-android")
|
id("com.github.android-password-store.kotlin-android")
|
||||||
@@ -19,7 +22,14 @@ android {
|
|||||||
namespace = "com.github.androidpasswordstore.autofillparser"
|
namespace = "com.github.androidpasswordstore.autofillparser"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType<KotlinCompile>().configureEach {
|
||||||
|
compilerOptions {
|
||||||
|
languageVersion.set(KotlinVersion.KOTLIN_1_7)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
implementation(platform(libs.kotlin1710.bom))
|
||||||
implementation(libs.androidx.annotation)
|
implementation(libs.androidx.annotation)
|
||||||
implementation(libs.androidx.autofill)
|
implementation(libs.androidx.autofill)
|
||||||
implementation(libs.androidx.core.ktx)
|
implementation(libs.androidx.core.ktx)
|
||||||
|
@@ -8,6 +8,7 @@ coroutines = "1.7.1"
|
|||||||
flowbinding = "1.2.0"
|
flowbinding = "1.2.0"
|
||||||
hilt = "2.46.1"
|
hilt = "2.46.1"
|
||||||
kotlin = "1.8.21"
|
kotlin = "1.8.21"
|
||||||
|
kotlin1710 = { strictly = "[1.7.0,)", prefer = "1.7.10" }
|
||||||
leakcanary = "2.11"
|
leakcanary = "2.11"
|
||||||
lifecycle = "2.6.1"
|
lifecycle = "2.6.1"
|
||||||
|
|
||||||
@@ -67,6 +68,7 @@ dagger-hilt-android = { module = "com.google.dagger:hilt-android", version.ref =
|
|||||||
dagger-hilt-compiler = { module = "com.google.dagger:hilt-compiler", version.ref = "hilt" }
|
dagger-hilt-compiler = { module = "com.google.dagger:hilt-compiler", version.ref = "hilt" }
|
||||||
dagger-hilt-core = { module = "com.google.dagger:hilt-core", version.ref = "hilt" }
|
dagger-hilt-core = { module = "com.google.dagger:hilt-core", version.ref = "hilt" }
|
||||||
kotlin-bom = { module = "org.jetbrains.kotlin:kotlin-bom", version.ref = "kotlin" }
|
kotlin-bom = { module = "org.jetbrains.kotlin:kotlin-bom", version.ref = "kotlin" }
|
||||||
|
kotlin1710-bom = { module = "org.jetbrains.kotlin:kotlin-bom", version.ref = "kotlin1710" }
|
||||||
kotlinx-collections-immutable = "org.jetbrains.kotlinx:kotlinx-collections-immutable:0.3.5"
|
kotlinx-collections-immutable = "org.jetbrains.kotlinx:kotlinx-collections-immutable:0.3.5"
|
||||||
kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "coroutines" }
|
kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "coroutines" }
|
||||||
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" }
|
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" }
|
||||||
|
Reference in New Issue
Block a user