29 lines
836 B
Plaintext
29 lines
836 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("ZCASH_IS_TREAT_WARNINGS_AS_ERRORS").toString().toBoolean()
|
|
freeCompilerArgs = freeCompilerArgs.plus("-Xopt-in=kotlin.RequiresOptIn")
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(projects.sdkExtLib)
|
|
|
|
androidTestImplementation(libs.bundles.androidx.test)
|
|
androidTestImplementation(libs.kotlin.test)
|
|
|
|
if (project.property("IS_USE_TEST_ORCHESTRATOR").toString().toBoolean()) {
|
|
androidTestUtil(libs.androidx.test.orchestrator) {
|
|
artifact {
|
|
type = "apk"
|
|
}
|
|
}
|
|
}
|
|
} |