aboutsummaryrefslogtreecommitdiff
path: root/build-logic/kotlin-plugins
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-10-21 12:02:23 +0530
committerGitHub <noreply@github.com>2022-10-21 06:32:23 +0000
commitdf764932f7fdddea9cea5937c6053a95797d35df (patch)
treea24e108f9584c60b4f6e18717af4269cbb49c91b /build-logic/kotlin-plugins
parent7f90d827ae436fe74ce5d3cabb9f1b091462b657 (diff)
Migrate to Metalava for validating API (#2195)
Diffstat (limited to 'build-logic/kotlin-plugins')
-rw-r--r--build-logic/kotlin-plugins/build.gradle.kts5
-rw-r--r--build-logic/kotlin-plugins/src/main/kotlin/app/passwordstore/gradle/BinaryCompatibilityPlugin.kt34
2 files changed, 0 insertions, 39 deletions
diff --git a/build-logic/kotlin-plugins/build.gradle.kts b/build-logic/kotlin-plugins/build.gradle.kts
index d891ec0d..1a547454 100644
--- a/build-logic/kotlin-plugins/build.gradle.kts
+++ b/build-logic/kotlin-plugins/build.gradle.kts
@@ -26,10 +26,6 @@ afterEvaluate {
gradlePlugin {
plugins {
- register("binary-compatibility") {
- id = "com.github.android-password-store.binary-compatibility"
- implementationClass = "app.passwordstore.gradle.BinaryCompatibilityPlugin"
- }
register("kotlin-android") {
id = "com.github.android-password-store.kotlin-android"
implementationClass = "app.passwordstore.gradle.KotlinAndroidPlugin"
@@ -59,7 +55,6 @@ gradlePlugin {
dependencies {
implementation(libs.build.agp)
- implementation(libs.build.binarycompat)
implementation(libs.build.detekt)
implementation(libs.build.kotlin)
implementation(libs.build.r8)
diff --git a/build-logic/kotlin-plugins/src/main/kotlin/app/passwordstore/gradle/BinaryCompatibilityPlugin.kt b/build-logic/kotlin-plugins/src/main/kotlin/app/passwordstore/gradle/BinaryCompatibilityPlugin.kt
deleted file mode 100644
index a64d8fb3..00000000
--- a/build-logic/kotlin-plugins/src/main/kotlin/app/passwordstore/gradle/BinaryCompatibilityPlugin.kt
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
- * SPDX-License-Identifier: GPL-3.0-only
- */
-
-package app.passwordstore.gradle
-
-import kotlinx.validation.ApiValidationExtension
-import kotlinx.validation.BinaryCompatibilityValidatorPlugin
-import org.gradle.api.Plugin
-import org.gradle.api.Project
-import org.gradle.kotlin.dsl.apply
-import org.gradle.kotlin.dsl.getByType
-
-@Suppress("Unused")
-class BinaryCompatibilityPlugin : Plugin<Project> {
-
- override fun apply(project: Project) {
- project.pluginManager.apply(BinaryCompatibilityValidatorPlugin::class)
- project.extensions.getByType<ApiValidationExtension>().ignoredProjects =
- mutableSetOf(
- "app",
- "coroutine-utils",
- "coroutine-utils-testing",
- "crypto-common",
- "crypto-pgpainless",
- "format-common",
- "diceware",
- "random",
- "sentry-stub",
- "ui-compose",
- )
- }
-}