2020-07-23 09:09:36 +00:00
|
|
|
/*
|
2021-03-09 09:15:27 +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
|
|
|
|
*/
|
2023-03-21 06:06:32 +00:00
|
|
|
@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")
|
2022-02-20 13:28:35 +00:00
|
|
|
id("com.github.android-password-store.sentry")
|
2022-02-23 08:55:03 +00:00
|
|
|
id("com.github.android-password-store.rename-artifacts")
|
2023-07-12 10:30:46 +00:00
|
|
|
alias(libs.plugins.hilt)
|
2024-05-22 07:12:27 +00:00
|
|
|
alias(libs.plugins.kotlin.composeCompiler)
|
2020-12-30 10:06:51 +00:00
|
|
|
}
|
|
|
|
|
2022-01-26 17:11:04 +00:00
|
|
|
crowdin {
|
2023-03-21 07:58:56 +00:00
|
|
|
crowdinIdentifier = "android-password-store"
|
2021-11-28 20:57:21 +00:00
|
|
|
skipCleanup = false
|
|
|
|
}
|
|
|
|
|
2020-07-23 09:09:36 +00:00
|
|
|
android {
|
2021-04-17 22:22:41 +00:00
|
|
|
compileOptions { isCoreLibraryDesugaringEnabled = true }
|
2023-05-19 16:03:37 +00:00
|
|
|
namespace = "app.passwordstore"
|
2020-07-23 09:09:36 +00:00
|
|
|
|
2021-03-09 09:23:11 +00:00
|
|
|
defaultConfig {
|
2022-07-14 14:10:24 +00:00
|
|
|
applicationId = "app.passwordstore"
|
2021-03-09 09:23:11 +00:00
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
2020-07-23 09:09:36 +00:00
|
|
|
|
2023-07-06 07:08:56 +00:00
|
|
|
buildFeatures { compose = true }
|
2024-05-22 07:12:27 +00:00
|
|
|
composeOptions { useLiveLiterals = false }
|
2024-04-06 10:00:30 +00:00
|
|
|
|
|
|
|
packaging { resources.excludes.add("META-INF/versions/**") }
|
2020-07-23 09:09:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-10-25 12:58:45 +00:00
|
|
|
implementation(platform(libs.compose.bom))
|
2021-04-17 22:22:41 +00:00
|
|
|
kapt(libs.dagger.hilt.compiler)
|
2021-05-12 10:41:32 +00:00
|
|
|
implementation(libs.androidx.annotation)
|
2021-04-17 22:22:41 +00:00
|
|
|
coreLibraryDesugaring(libs.android.desugarJdkLibs)
|
2021-04-12 12:08:06 +00:00
|
|
|
implementation(projects.autofillParser)
|
2021-12-09 04:37:54 +00:00
|
|
|
implementation(projects.coroutineUtils)
|
2023-08-09 21:51:47 +00:00
|
|
|
implementation(projects.crypto.pgpainless)
|
|
|
|
implementation(projects.format.common)
|
2021-12-10 09:22:26 +00:00
|
|
|
implementation(projects.passgen.diceware)
|
2022-01-13 16:43:53 +00:00
|
|
|
implementation(projects.passgen.random)
|
2023-08-09 21:51:47 +00:00
|
|
|
implementation(projects.ui.compose)
|
2024-01-24 19:22:53 +00:00
|
|
|
implementation(libs.androidx.activity)
|
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)
|
2021-06-04 06:00:30 +00:00
|
|
|
implementation(libs.androidx.core.ktx)
|
2021-04-12 12:08:06 +00:00
|
|
|
implementation(libs.androidx.documentfile)
|
2021-06-04 06:00:30 +00:00
|
|
|
implementation(libs.androidx.fragment.ktx)
|
2021-04-12 12:08:06 +00:00
|
|
|
implementation(libs.bundles.androidxLifecycle)
|
2022-11-18 08:54:07 +00:00
|
|
|
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)
|
2022-07-23 13:45:36 +00:00
|
|
|
implementation(libs.compose.ui.tooling)
|
2021-04-17 22:22:41 +00:00
|
|
|
implementation(libs.dagger.hilt.android)
|
2020-07-23 09:09:36 +00:00
|
|
|
|
2023-06-15 08:32:05 +00:00
|
|
|
implementation(libs.kotlinx.collections.immutable)
|
2023-06-15 08:28:31 +00:00
|
|
|
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)
|
2021-08-08 07:36:26 +00:00
|
|
|
implementation(libs.thirdparty.flowbinding.android)
|
2021-04-12 12:08:06 +00:00
|
|
|
implementation(libs.thirdparty.jgit) {
|
2021-03-09 09:23:11 +00:00
|
|
|
exclude(group = "org.apache.httpcomponents", module = "httpclient")
|
|
|
|
}
|
2021-04-12 12:08:06 +00:00
|
|
|
implementation(libs.thirdparty.kotlinResult)
|
2021-10-03 08:32:15 +00:00
|
|
|
implementation(libs.thirdparty.logcat)
|
2021-04-12 12:08:06 +00:00
|
|
|
implementation(libs.thirdparty.modernAndroidPrefs)
|
2023-11-26 16:06:59 +00:00
|
|
|
implementation(libs.thirdparty.leakcanary.plumber)
|
2023-09-04 18:50:19 +00:00
|
|
|
implementation(libs.thirdparty.sshj)
|
2022-05-27 07:30:10 +00:00
|
|
|
implementation(libs.thirdparty.bouncycastle.bcprov)
|
2024-04-06 10:00:30 +00:00
|
|
|
implementation(libs.thirdparty.bouncycastle.bcutil)
|
2020-07-23 09:09:36 +00:00
|
|
|
|
2023-09-04 18:50:19 +00:00
|
|
|
implementation(libs.thirdparty.slf4j.api) {
|
|
|
|
because("SSHJ now uses SLF4J 2.0 which we don't want")
|
|
|
|
}
|
|
|
|
|
2022-10-24 09:21:33 +00:00
|
|
|
nonFreeImplementation(libs.thirdparty.nonfree.googlePlayAuthApiPhone)
|
|
|
|
nonFreeImplementation(libs.thirdparty.nonfree.sentry)
|
|
|
|
freeImplementation(projects.sentryStub)
|
2020-07-23 09:09:36 +00:00
|
|
|
|
2021-04-19 11:43:12 +00:00
|
|
|
testImplementation(libs.testing.robolectric)
|
2021-05-17 08:49:02 +00:00
|
|
|
testImplementation(libs.testing.sharedPrefsMock)
|
2021-04-12 12:08:06 +00:00
|
|
|
testImplementation(libs.bundles.testDependencies)
|
2020-07-23 09:09:36 +00:00
|
|
|
}
|