From ec696c1d8d2ad91ca2844a791ae38f68444bad81 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 12 May 2023 20:28:36 +0530 Subject: feat: raise min SDK to 26 Autofill is only available on API 26 and above and I do not want to deal with bugs on these older Android releases. --- autofill-parser/build.gradle.kts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'autofill-parser/build.gradle.kts') diff --git a/autofill-parser/build.gradle.kts b/autofill-parser/build.gradle.kts index fa67cf7e..5622e63d 100644 --- a/autofill-parser/build.gradle.kts +++ b/autofill-parser/build.gradle.kts @@ -2,6 +2,8 @@ * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception */ +@file:Suppress("UnstableApiUsage") + plugins { id("com.github.android-password-store.published-android-library") id("com.github.android-password-store.kotlin-android") @@ -9,7 +11,10 @@ plugins { } android { - defaultConfig { consumerProguardFiles("consumer-rules.pro") } + defaultConfig { + minSdk = 23 + consumerProguardFiles("consumer-rules.pro") + } sourceSets { getByName("test") { resources.srcDir("src/main/assets") } } namespace = "com.github.androidpasswordstore.autofillparser" } -- cgit v1.2.3