2022-02-21 06:50:09 -08:00
|
|
|
plugins {
|
|
|
|
id("com.android.library")
|
|
|
|
kotlin("android")
|
2022-06-13 11:06:23 -07:00
|
|
|
id("secant.android-build-conventions")
|
2023-02-13 05:10:32 -08:00
|
|
|
id("secant.jacoco-conventions")
|
2022-02-21 06:50:09 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2022-09-19 05:24:19 -07:00
|
|
|
namespace = "co.electriccoin.zcash.ui.design"
|
|
|
|
|
2022-02-21 06:50:09 -08:00
|
|
|
buildFeatures {
|
|
|
|
compose = true
|
|
|
|
}
|
|
|
|
|
|
|
|
composeOptions {
|
|
|
|
kotlinCompilerExtensionVersion = libs.androidx.compose.compiler.get().versionConstraint.displayName
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
getByName("main").apply {
|
|
|
|
res.setSrcDirs(
|
|
|
|
setOf(
|
|
|
|
"src/main/res/ui/common",
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation(libs.androidx.annotation)
|
2023-03-14 00:00:36 -07:00
|
|
|
implementation(libs.androidx.constraintlayout)
|
2022-02-21 06:50:09 -08:00
|
|
|
implementation(libs.androidx.core)
|
|
|
|
implementation(libs.androidx.splash)
|
|
|
|
implementation(libs.bundles.androidx.compose.core)
|
|
|
|
implementation(libs.kotlin.stdlib)
|
|
|
|
implementation(libs.kotlinx.coroutines.android)
|
|
|
|
implementation(libs.kotlinx.coroutines.core)
|
2023-03-01 04:58:47 -08:00
|
|
|
api(libs.kotlinx.immutable)
|
2022-05-31 09:38:02 -07:00
|
|
|
implementation(projects.spackleAndroidLib)
|
2022-02-21 06:50:09 -08:00
|
|
|
|
|
|
|
androidTestImplementation(libs.bundles.androidx.test)
|
|
|
|
androidTestImplementation(libs.androidx.compose.test.junit)
|
|
|
|
androidTestImplementation(libs.androidx.compose.test.manifest)
|
|
|
|
androidTestImplementation(libs.kotlin.reflect)
|
|
|
|
androidTestImplementation(libs.kotlin.test)
|
|
|
|
|
2023-01-17 11:54:40 -08:00
|
|
|
androidTestUtil(libs.androidx.test.services) {
|
|
|
|
artifact {
|
|
|
|
type = "apk"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-21 06:50:09 -08:00
|
|
|
if (project.property("IS_USE_TEST_ORCHESTRATOR").toString().toBoolean()) {
|
|
|
|
androidTestUtil(libs.androidx.test.orchestrator) {
|
|
|
|
artifact {
|
|
|
|
type = "apk"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|