8cfe6ec84c
Also converts the format-common module into an Android library since UriTotpFinder requires the Android SDK.
31 lines
1 KiB
Text
31 lines
1 KiB
Text
/*
|
|
* Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
|
|
* SPDX-License-Identifier: GPL-3.0-only
|
|
*/
|
|
@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage")
|
|
|
|
plugins {
|
|
id("com.github.android-password-store.android-library")
|
|
id("com.github.android-password-store.kotlin-android")
|
|
id("com.github.android-password-store.kotlin-library")
|
|
}
|
|
|
|
android {
|
|
namespace = "app.passwordstore.format.common"
|
|
compileOptions { isCoreLibraryDesugaringEnabled = true }
|
|
}
|
|
|
|
dependencies {
|
|
api(libs.kotlin.coroutines.core)
|
|
api(libs.thirdparty.kotlinResult)
|
|
compileOnly(libs.androidx.annotation)
|
|
coreLibraryDesugaring(libs.android.desugarJdkLibs)
|
|
implementation(projects.coroutineUtils)
|
|
implementation(libs.dagger.hilt.core)
|
|
implementation(libs.thirdparty.commons.codec)
|
|
testImplementation(projects.coroutineUtilsTesting)
|
|
testImplementation(libs.bundles.testDependencies)
|
|
testImplementation(libs.kotlin.coroutines.test)
|
|
testImplementation(libs.testing.robolectric)
|
|
testImplementation(libs.testing.turbine)
|
|
}
|