diff options
Diffstat (limited to 'build-logic')
-rw-r--r-- | build-logic/src/main/kotlin/app/passwordstore/gradle/ApplicationPlugin.kt | 8 | ||||
-rw-r--r-- | build-logic/src/main/kotlin/app/passwordstore/gradle/snapshot/SnapshotExtension.kt | 10 |
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 -} |