plugins { id("com.android.library") kotlin("android") id("kotlin-parcelize") id("androidx.navigation.safeargs") id("zcash.android-build-conventions") } android { buildFeatures { viewBinding = true compose = true } composeOptions { kotlinCompilerExtensionVersion = libs.androidx.compose.compiler.get().versionConstraint.displayName } // 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") } sourceSets { getByName("main").apply { res.setSrcDirs( setOf( "src/main/res/ui/common", "src/main/res/ui/onboarding" ) ) } } } dependencies { implementation(libs.androidx.activity) implementation(libs.androidx.annotation) implementation(libs.androidx.core) implementation(libs.androidx.lifecycle.livedata) implementation(libs.bundles.androidx.compose) implementation(libs.google.material) implementation(libs.kotlin) implementation(libs.kotlinx.coroutines.android) implementation(libs.kotlinx.coroutines.core) implementation(libs.zcash) androidTestImplementation(libs.bundles.androidx.test) androidTestImplementation(libs.androidx.compose.test.junit) androidTestImplementation(libs.androidx.compose.test.manifest) if (project.property("IS_USE_TEST_ORCHESTRATOR").toString().toBoolean()) { androidTestUtil(libs.androidx.test.orchestrator) { artifact { type = "apk" } } } }