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. --- .../kotlin/app/passwordstore/gradle/PublishedAndroidLibraryPlugin.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'build-logic/src/main/kotlin/app/passwordstore/gradle/PublishedAndroidLibraryPlugin.kt') diff --git a/build-logic/src/main/kotlin/app/passwordstore/gradle/PublishedAndroidLibraryPlugin.kt b/build-logic/src/main/kotlin/app/passwordstore/gradle/PublishedAndroidLibraryPlugin.kt index 17ab5431..ac07df2d 100644 --- a/build-logic/src/main/kotlin/app/passwordstore/gradle/PublishedAndroidLibraryPlugin.kt +++ b/build-logic/src/main/kotlin/app/passwordstore/gradle/PublishedAndroidLibraryPlugin.kt @@ -23,7 +23,9 @@ class PublishedAndroidLibraryPlugin : Plugin { } project.extensions.configure { publishToMavenCentral(SonatypeHost.DEFAULT, true) - signAllPublications() + if (project.providers.environmentVariable("CI").isPresent) { + signAllPublications() + } } project.extensions.configure { documentation.set(Documentation.PUBLIC) -- cgit v1.2.3