From 2de636c31bf27f7e616f8d44bba6e6e877ba8ce3 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 28 Nov 2023 11:56:49 +0530 Subject: feat: remove WhatTheStack This is pretty unmaintained --- .../main/kotlin/app/passwordstore/gradle/ApplicationPlugin.kt | 8 -------- .../app/passwordstore/gradle/snapshot/SnapshotExtension.kt | 10 ---------- 2 files changed, 18 deletions(-) delete mode 100644 build-logic/src/main/kotlin/app/passwordstore/gradle/snapshot/SnapshotExtension.kt (limited to 'build-logic/src/main/kotlin/app') diff --git a/build-logic/src/main/kotlin/app/passwordstore/gradle/ApplicationPlugin.kt b/build-logic/src/main/kotlin/app/passwordstore/gradle/ApplicationPlugin.kt index c4620e6b..fa6f3a2c 100644 --- a/build-logic/src/main/kotlin/app/passwordstore/gradle/ApplicationPlugin.kt +++ b/build-logic/src/main/kotlin/app/passwordstore/gradle/ApplicationPlugin.kt @@ -5,15 +5,12 @@ package app.passwordstore.gradle import app.passwordstore.gradle.flavors.FlavorDimensions import app.passwordstore.gradle.flavors.ProductFlavors import app.passwordstore.gradle.signing.configureBuildSigning -import app.passwordstore.gradle.snapshot.SnapshotExtension import com.android.build.api.dsl.ApplicationExtension import com.android.build.gradle.AppPlugin import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.kotlin.dsl.apply import org.gradle.kotlin.dsl.configure -import org.gradle.kotlin.dsl.dependencies -import org.gradle.kotlin.dsl.the @Suppress("Unused") class ApplicationPlugin : Plugin { @@ -61,11 +58,6 @@ class ApplicationPlugin : Plugin { project.configureBuildSigning() } - - project.dependencies { - extensions.add("snapshot", SnapshotExtension::class.java) - the().snapshot = project.isSnapshot() - } } private fun Project.isSnapshot(): Boolean { diff --git a/build-logic/src/main/kotlin/app/passwordstore/gradle/snapshot/SnapshotExtension.kt b/build-logic/src/main/kotlin/app/passwordstore/gradle/snapshot/SnapshotExtension.kt deleted file mode 100644 index 191620d1..00000000 --- a/build-logic/src/main/kotlin/app/passwordstore/gradle/snapshot/SnapshotExtension.kt +++ /dev/null @@ -1,10 +0,0 @@ -/* - * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. - * SPDX-License-Identifier: GPL-3.0-only - */ - -package app.passwordstore.gradle.snapshot - -abstract class SnapshotExtension { - abstract var snapshot: Boolean -} -- cgit v1.2.3