aboutsummaryrefslogtreecommitdiff
path: root/build-logic
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-11-28 11:56:49 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-11-28 11:56:49 +0530
commit2de636c31bf27f7e616f8d44bba6e6e877ba8ce3 (patch)
tree863314b805f13c52396f22c565f067e2e72c7462 /build-logic
parent1379ca24399e160828f5bc1c732ff80dc1b7a24e (diff)
feat: remove WhatTheStack
This is pretty unmaintained
Diffstat (limited to 'build-logic')
-rw-r--r--build-logic/src/main/kotlin/app/passwordstore/gradle/ApplicationPlugin.kt8
-rw-r--r--build-logic/src/main/kotlin/app/passwordstore/gradle/snapshot/SnapshotExtension.kt10
2 files changed, 0 insertions, 18 deletions
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<Project> {
@@ -61,11 +58,6 @@ class ApplicationPlugin : Plugin<Project> {
project.configureBuildSigning()
}
-
- project.dependencies {
- extensions.add("snapshot", SnapshotExtension::class.java)
- the<SnapshotExtension>().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
-}