mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-09-02 15:25:39 +00:00
feat: remove WhatTheStack
This is pretty unmaintained
This commit is contained in:
@@ -89,12 +89,6 @@ dependencies {
|
|||||||
implementation(libs.thirdparty.sshj)
|
implementation(libs.thirdparty.sshj)
|
||||||
implementation(libs.thirdparty.bouncycastle.bcprov)
|
implementation(libs.thirdparty.bouncycastle.bcprov)
|
||||||
|
|
||||||
if (snapshot.snapshot) {
|
|
||||||
implementation(libs.thirdparty.whatthestack)
|
|
||||||
} else {
|
|
||||||
debugImplementation(libs.thirdparty.whatthestack)
|
|
||||||
}
|
|
||||||
|
|
||||||
implementation(libs.thirdparty.slf4j.api) {
|
implementation(libs.thirdparty.slf4j.api) {
|
||||||
because("SSHJ now uses SLF4J 2.0 which we don't want")
|
because("SSHJ now uses SLF4J 2.0 which we don't want")
|
||||||
}
|
}
|
||||||
|
5
app/proguard-rules.pro
vendored
5
app/proguard-rules.pro
vendored
@@ -4,8 +4,3 @@
|
|||||||
-keep class org.eclipse.jgit.internal.JGitText { *; }
|
-keep class org.eclipse.jgit.internal.JGitText { *; }
|
||||||
-keep class org.bouncycastle.jcajce.provider.** { *; }
|
-keep class org.bouncycastle.jcajce.provider.** { *; }
|
||||||
-keep class !org.bouncycastle.jce.provider.X509LDAPCertStoreSpi,org.bouncycastle.jce.provider.** { *; }
|
-keep class !org.bouncycastle.jce.provider.X509LDAPCertStoreSpi,org.bouncycastle.jce.provider.** { *; }
|
||||||
|
|
||||||
# WhatTheStack
|
|
||||||
-keep class com.haroldadmin.whatthestack.WhatTheStackInitializer {
|
|
||||||
<init>();
|
|
||||||
}
|
|
||||||
|
@@ -5,15 +5,12 @@ package app.passwordstore.gradle
|
|||||||
import app.passwordstore.gradle.flavors.FlavorDimensions
|
import app.passwordstore.gradle.flavors.FlavorDimensions
|
||||||
import app.passwordstore.gradle.flavors.ProductFlavors
|
import app.passwordstore.gradle.flavors.ProductFlavors
|
||||||
import app.passwordstore.gradle.signing.configureBuildSigning
|
import app.passwordstore.gradle.signing.configureBuildSigning
|
||||||
import app.passwordstore.gradle.snapshot.SnapshotExtension
|
|
||||||
import com.android.build.api.dsl.ApplicationExtension
|
import com.android.build.api.dsl.ApplicationExtension
|
||||||
import com.android.build.gradle.AppPlugin
|
import com.android.build.gradle.AppPlugin
|
||||||
import org.gradle.api.Plugin
|
import org.gradle.api.Plugin
|
||||||
import org.gradle.api.Project
|
import org.gradle.api.Project
|
||||||
import org.gradle.kotlin.dsl.apply
|
import org.gradle.kotlin.dsl.apply
|
||||||
import org.gradle.kotlin.dsl.configure
|
import org.gradle.kotlin.dsl.configure
|
||||||
import org.gradle.kotlin.dsl.dependencies
|
|
||||||
import org.gradle.kotlin.dsl.the
|
|
||||||
|
|
||||||
@Suppress("Unused")
|
@Suppress("Unused")
|
||||||
class ApplicationPlugin : Plugin<Project> {
|
class ApplicationPlugin : Plugin<Project> {
|
||||||
@@ -61,11 +58,6 @@ class ApplicationPlugin : Plugin<Project> {
|
|||||||
|
|
||||||
project.configureBuildSigning()
|
project.configureBuildSigning()
|
||||||
}
|
}
|
||||||
|
|
||||||
project.dependencies {
|
|
||||||
extensions.add("snapshot", SnapshotExtension::class.java)
|
|
||||||
the<SnapshotExtension>().snapshot = project.isSnapshot()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun Project.isSnapshot(): Boolean {
|
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
|
|
||||||
}
|
|
@@ -93,7 +93,6 @@ thirdparty-slack-lints = "com.slack.lint:slack-lint-checks:0.7.0"
|
|||||||
thirdparty-slf4j-api = { module = "org.slf4j:slf4j-api", version = { strictly = "[1.7, 1.8[", prefer = "1.7.36" } }
|
thirdparty-slf4j-api = { module = "org.slf4j:slf4j-api", version = { strictly = "[1.7, 1.8[", prefer = "1.7.36" } }
|
||||||
thirdparty-sshj = "com.hierynomus:sshj:0.37.0"
|
thirdparty-sshj = "com.hierynomus:sshj:0.37.0"
|
||||||
thirdparty-uri = "com.eygraber:uri-kmp:0.0.15"
|
thirdparty-uri = "com.eygraber:uri-kmp:0.0.15"
|
||||||
thirdparty-whatthestack = "com.github.haroldadmin:WhatTheStack:1.0.0-alpha04"
|
|
||||||
|
|
||||||
[bundles]
|
[bundles]
|
||||||
androidxLifecycle = [
|
androidxLifecycle = [
|
||||||
|
@@ -156,10 +156,6 @@ dependencyResolutionManagement {
|
|||||||
includeModule("com.google.android.material", "material")
|
includeModule("com.google.android.material", "material")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
exclusiveContent {
|
|
||||||
forRepository { maven("https://jitpack.io") }
|
|
||||||
filter { includeModule("com.github.haroldadmin", "WhatTheStack") }
|
|
||||||
}
|
|
||||||
exclusiveContent {
|
exclusiveContent {
|
||||||
forRepository { maven("https://storage.googleapis.com/r8-releases/raw") }
|
forRepository { maven("https://storage.googleapis.com/r8-releases/raw") }
|
||||||
filter { includeModule("com.android.tools", "r8") }
|
filter { includeModule("com.android.tools", "r8") }
|
||||||
|
Reference in New Issue
Block a user