Files
coco 723ce1af5c a
2026-07-03 15:12:48 +08:00

62 lines
2.0 KiB
Groovy

plugins {
id 'com.android.library'
id 'kotlin-android'
id 'com.google.devtools.ksp' version "$ksp_version"
}
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
dependencies {
implementation project(path: ':common-utils')
implementation project(path: ':autofill-api')
implementation project(path: ':privacy-config-api')
implementation project(path: ':feature-toggles-api')
implementation project(path: ':app-build-config-api')
implementation project(path: ':browser-api')
implementation AndroidX.security.crypto
implementation Square.okio
implementation AndroidX.core.ktx
implementation AndroidX.appCompat
implementation KotlinX.coroutines.core
implementation Google.android.material
implementation Square.okHttp3.okHttp
implementation Google.dagger
implementation JakeWharton.timber
// Room
implementation AndroidX.room.runtime
implementation AndroidX.room.ktx
testImplementation project(path: ':autofill-test')
ksp AndroidX.room.compiler
// Testing dependencies
testImplementation "org.mockito.kotlin:mockito-kotlin:_"
testImplementation Testing.junit4
testImplementation AndroidX.test.ext.junit
testImplementation Testing.robolectric
testImplementation (KotlinX.coroutines.test) {
// https://github.com/Kotlin/kotlinx.coroutines/issues/2023
// conflicts with mockito due to direct inclusion of byte buddy
exclude group: "org.jetbrains.kotlinx", module: "kotlinx-coroutines-debug"
}
testImplementation project(path: ':common-test')
testImplementation CashApp.turbine
}
android {
defaultConfig {
javaCompileOptions {
annotationProcessorOptions {
arguments = ["room.schemaLocation": "$projectDir/schemas".toString()]
}
}
}
sourceSets {
test.assets.srcDirs += files("$projectDir/schemas".toString())
}
namespace 'com.duckduckgo.autofill.store'
}