72 lines
1.9 KiB
Plaintext
72 lines
1.9 KiB
Plaintext
plugins {
|
|
id("com.android.library")
|
|
id("org.jetbrains.kotlin.android")
|
|
id("com.google.devtools.ksp")
|
|
id("org.jetbrains.kotlin.plugin.compose")
|
|
}
|
|
|
|
android {
|
|
namespace = "com.homebox.lens.feature.scan"
|
|
compileSdk = 36
|
|
|
|
defaultConfig {
|
|
minSdk = 24
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":domain"))
|
|
implementation(project(":data"))
|
|
|
|
implementation(Libs.coreKtx)
|
|
implementation(Libs.lifecycleRuntime)
|
|
implementation(Libs.activityCompose)
|
|
|
|
// CameraX
|
|
// CameraX
|
|
implementation("androidx.camera:camera-core:1.3.4")
|
|
implementation("androidx.camera:camera-camera2:1.3.4")
|
|
implementation("androidx.camera:camera-lifecycle:1.3.4")
|
|
implementation("androidx.camera:camera-view:1.3.4")
|
|
|
|
// ML Kit Barcode Scanning
|
|
implementation("com.google.mlkit:barcode-scanning:17.3.0")
|
|
|
|
// Compose
|
|
|
|
|
|
implementation(Libs.composeUi)
|
|
implementation(Libs.composeUiGraphics)
|
|
implementation(Libs.composeUiToolingPreview)
|
|
implementation(Libs.composeMaterial3)
|
|
implementation(Libs.navigationCompose)
|
|
implementation(Libs.hiltNavigationCompose)
|
|
|
|
// Hilt
|
|
implementation(Libs.hiltAndroid)
|
|
ksp(Libs.hiltCompiler)
|
|
|
|
// Logging
|
|
implementation(Libs.timber)
|
|
|
|
// Testing
|
|
testImplementation(Libs.junit)
|
|
testImplementation(Libs.kotestRunnerJunit5)
|
|
testImplementation(Libs.kotestAssertionsCore)
|
|
testImplementation(Libs.mockk)
|
|
testImplementation("app.cash.turbine:turbine:1.1.0")
|
|
androidTestImplementation(Libs.extJunit)
|
|
androidTestImplementation(Libs.espressoCore)
|
|
|
|
androidTestImplementation(Libs.composeUiTestJunit4)
|
|
debugImplementation(Libs.composeUiTooling)
|
|
debugImplementation(Libs.composeUiTestManifest)
|
|
} |