Android-Password-Store/app/build.gradle.kts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

108 lines
3.8 KiB
Text
Raw Normal View History

2020-07-23 09:09:36 +00:00
/*
* Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
2020-07-23 09:09:36 +00:00
* SPDX-License-Identifier: GPL-3.0-only
*/
@file:Suppress("UnstableApiUsage")
2020-07-23 09:09:36 +00:00
plugins {
2021-11-28 20:57:21 +00:00
id("com.github.android-password-store.android-application")
id("com.github.android-password-store.crowdin-plugin")
id("com.github.android-password-store.kotlin-android")
id("com.github.android-password-store.kotlin-kapt")
id("com.github.android-password-store.versioning-plugin")
id("com.github.android-password-store.sentry")
id("com.github.android-password-store.rename-artifacts")
id("dagger.hilt.android.plugin")
}
crowdin {
crowdinIdentifier = "android-password-store"
2021-11-28 20:57:21 +00:00
skipCleanup = false
}
2020-07-23 09:09:36 +00:00
android {
compileOptions { isCoreLibraryDesugaringEnabled = true }
namespace = "app.passwordstore"
2020-07-23 09:09:36 +00:00
defaultConfig {
applicationId = "app.passwordstore"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
2020-07-23 09:09:36 +00:00
}
buildFeatures { compose = true }
composeOptions {
useLiveLiterals = false
kotlinCompilerExtensionVersion = libs.versions.composeCompiler.get()
}
2020-07-23 09:09:36 +00:00
}
dependencies {
2022-10-25 12:58:45 +00:00
implementation(platform(libs.compose.bom))
kapt(libs.dagger.hilt.compiler)
implementation(libs.androidx.annotation)
coreLibraryDesugaring(libs.android.desugarJdkLibs)
2021-04-12 12:08:06 +00:00
implementation(projects.autofillParser)
implementation(projects.coroutineUtils)
implementation(projects.cryptoPgpainless)
implementation(projects.formatCommon)
2021-12-10 09:22:26 +00:00
implementation(projects.passgen.diceware)
implementation(projects.passgen.random)
Refactor SSHKey into a separate module (#2450) * refactor(ssh): add `ssh` module Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * refactor(ssh): add `SSHKey` data class Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * refactor(ssh): add `SSHKeyType` enum Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * refactor(ssh): add `SSHKeyAlgorithm` class Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * refactor(ssh): add class to generate `RSA` key Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * chore(ssh): add required dependencies Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * refactor(ssh): add `ECDSAKeyGenerator` and remove constants Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * refactor(ssh): add utilities Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * feat(ssh): add `SSHKeyWriter` Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * refactor(ssh): make ssh key generators suspending Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * fix(ssh): fix explicit API violations * feat: complete `ED25519KeyWriter` implementation Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * factor(ssh/writer): update writer interface Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * feat(ssh/provider): add providers for different key types Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * feat(ssh): add SSHKeyManager for common key functionality Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * feat(ssh): add remaining methods to reach feature parity with old SSH implementation Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * wip(app): start using SSHKeyManager instead of SSHKey class Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * refactor(ssh): update package name Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * chore(ssh): fix detekt warnings Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * chore: fixes across the board --------- Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2023-04-02 18:04:33 +00:00
implementation(projects.ssh)
2022-07-06 16:49:01 +00:00
implementation(projects.uiCompose)
implementation(libs.androidx.activity.ktx)
2022-07-18 17:22:45 +00:00
implementation(libs.androidx.activity.compose)
2021-04-12 12:08:06 +00:00
implementation(libs.androidx.appcompat)
implementation(libs.androidx.autofill)
implementation(libs.androidx.biometricKtx)
implementation(libs.androidx.constraintlayout)
implementation(libs.androidx.core.ktx)
2021-04-12 12:08:06 +00:00
implementation(libs.androidx.documentfile)
implementation(libs.androidx.fragment.ktx)
2021-04-12 12:08:06 +00:00
implementation(libs.bundles.androidxLifecycle)
implementation(libs.androidx.lifecycle.viewmodel.compose)
2021-04-12 12:08:06 +00:00
implementation(libs.androidx.material)
implementation(libs.androidx.preference)
implementation(libs.androidx.recyclerview)
implementation(libs.androidx.recyclerviewSelection)
implementation(libs.androidx.security)
implementation(libs.androidx.swiperefreshlayout)
implementation(libs.compose.ui.tooling)
implementation(libs.dagger.hilt.android)
2020-07-23 09:09:36 +00:00
implementation(libs.kotlinx.collections.immutable)
implementation(libs.kotlinx.coroutines.android)
implementation(libs.kotlinx.coroutines.core)
2020-07-23 09:09:36 +00:00
2021-04-12 12:08:06 +00:00
implementation(libs.aps.sublimeFuzzy)
implementation(libs.aps.zxingAndroidEmbedded)
2020-07-23 09:09:36 +00:00
2021-04-12 12:08:06 +00:00
implementation(libs.thirdparty.eddsa)
implementation(libs.thirdparty.fastscroll)
implementation(libs.thirdparty.flowbinding.android)
2021-04-12 12:08:06 +00:00
implementation(libs.thirdparty.jgit) {
2020-07-23 09:09:36 +00:00
exclude(group = "org.apache.httpcomponents", module = "httpclient")
}
2021-04-12 12:08:06 +00:00
implementation(libs.thirdparty.kotlinResult)
implementation(libs.thirdparty.logcat)
2021-04-12 12:08:06 +00:00
implementation(libs.thirdparty.modernAndroidPrefs)
implementation(libs.thirdparty.plumber)
implementation(libs.thirdparty.sshj) { exclude(group = "org.bouncycastle") }
implementation(libs.thirdparty.bouncycastle.bcprov)
implementation(libs.thirdparty.bouncycastle.bcpkix)
2020-07-23 09:09:36 +00:00
2022-05-19 07:23:59 +00:00
if (snapshot.snapshot) {
2021-04-12 12:08:06 +00:00
implementation(libs.thirdparty.whatthestack)
2020-07-23 09:09:36 +00:00
} else {
2021-04-12 12:08:06 +00:00
debugImplementation(libs.thirdparty.whatthestack)
2020-07-23 09:09:36 +00:00
}
implementation(libs.thirdparty.leakcanary.core)
nonFreeImplementation(libs.thirdparty.nonfree.googlePlayAuthApiPhone)
nonFreeImplementation(libs.thirdparty.nonfree.sentry)
freeImplementation(projects.sentryStub)
2020-07-23 09:09:36 +00:00
testImplementation(libs.testing.robolectric)
testImplementation(libs.testing.sharedPrefsMock)
2021-04-12 12:08:06 +00:00
testImplementation(libs.bundles.testDependencies)
2020-07-23 09:09:36 +00:00
}