feat: remove WhatTheStack
This is pretty unmaintained
This commit is contained in:
parent
1379ca2439
commit
2de636c31b
6 changed files with 0 additions and 34 deletions
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue