aboutsummaryrefslogtreecommitdiffstats
path: root/build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.binary-compatibility.gradle.kts
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-12-26 11:59:57 +0530
committerGitHub <noreply@github.com>2021-12-26 06:29:57 +0000
commit674a7d299bbe10692902d35fd2bbeef9ebe7a9f5 (patch)
treef2b01d88bc8845b1f27c7f012a6254b3e965e55c /build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.binary-compatibility.gradle.kts
parent43f6a0090f4f89464348eae98bf7303fa59bd13a (diff)
downloadHardenedPass-674a7d299bbe10692902d35fd2bbeef9ebe7a9f5.tar.gz
HardenedPass-674a7d299bbe10692902d35fd2bbeef9ebe7a9f5.zip
Misc cleanups to build-logic and expand BCV exclusion list (#1622)
* build-logic: remove `kotlin-dsl-precompiled-script-plugins` plugin * build-logic: use generated accessors for extensions * build: exclude non-published library projects from API dump There's no point in tracking binary compatibility for libraries that are only used internally
Diffstat (limited to 'build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.binary-compatibility.gradle.kts')
-rw-r--r--build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.binary-compatibility.gradle.kts16
1 files changed, 12 insertions, 4 deletions
diff --git a/build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.binary-compatibility.gradle.kts b/build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.binary-compatibility.gradle.kts
index 053a69ab..4e0ceaa3 100644
--- a/build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.binary-compatibility.gradle.kts
+++ b/build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.binary-compatibility.gradle.kts
@@ -3,9 +3,17 @@
* SPDX-License-Identifier: GPL-3.0-only
*/
-import kotlinx.validation.ApiValidationExtension
-import org.gradle.kotlin.dsl.configure
-
plugins { id("org.jetbrains.kotlinx.binary-compatibility-validator") }
-extensions.configure<ApiValidationExtension> { ignoredProjects = mutableSetOf("app") }
+apiValidation {
+ ignoredProjects =
+ mutableSetOf(
+ "app",
+ "coroutine-utils",
+ "coroutine-utils-testing",
+ "crypto-common",
+ "crypto-pgpainless",
+ "format-common",
+ "diceware",
+ )
+}