33 lines
956 B
Plaintext
33 lines
956 B
Plaintext
|
plugins {
|
||
|
id("com.android.library")
|
||
|
kotlin("android")
|
||
|
id("zcash.android-build-conventions")
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
// TODO [#6]: Figure out how to move this into the build-conventions
|
||
|
kotlinOptions {
|
||
|
jvmTarget = libs.versions.java.get()
|
||
|
allWarningsAsErrors = project.property("IS_TREAT_WARNINGS_AS_ERRORS").toString().toBoolean()
|
||
|
freeCompilerArgs = freeCompilerArgs.plus("-Xopt-in=kotlin.RequiresOptIn")
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation(libs.kotlin.stdlib)
|
||
|
implementation(libs.kotlinx.coroutines.android)
|
||
|
implementation(libs.kotlinx.coroutines.core)
|
||
|
implementation(libs.zcash.sdk)
|
||
|
implementation(libs.zcash.bip39)
|
||
|
|
||
|
androidTestImplementation(libs.bundles.androidx.test)
|
||
|
|
||
|
if (project.property("IS_USE_TEST_ORCHESTRATOR").toString().toBoolean()) {
|
||
|
androidTestUtil(libs.androidx.test.orchestrator) {
|
||
|
artifact {
|
||
|
type = "apk"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|