60 lines
1.4 KiB
Kotlin
60 lines
1.4 KiB
Kotlin
plugins {
|
|
id("com.android.library")
|
|
id("org.jetbrains.kotlin.android")
|
|
id("kotlin-kapt")
|
|
id("dagger.hilt.android.plugin")
|
|
}
|
|
|
|
android {
|
|
namespace = "com.smoa.core.barcode"
|
|
compileSdk = AppConfig.compileSdk
|
|
|
|
defaultConfig {
|
|
minSdk = AppConfig.minSdk
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "17"
|
|
}
|
|
|
|
buildFeatures {
|
|
compose = true
|
|
}
|
|
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion = "1.5.4"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":core:common"))
|
|
|
|
implementation(platform(Dependencies.composeBom))
|
|
implementation(Dependencies.composeUi)
|
|
implementation(Dependencies.composeUiGraphics)
|
|
implementation(Dependencies.composeMaterial3)
|
|
implementation(Dependencies.androidxCoreKtx)
|
|
implementation(Dependencies.androidxLifecycleRuntimeKtx)
|
|
|
|
// Barcode libraries
|
|
implementation(Dependencies.zxingCore)
|
|
implementation(Dependencies.zxingAndroid)
|
|
|
|
// Hilt
|
|
implementation(Dependencies.hiltAndroid)
|
|
kapt(Dependencies.hiltAndroidCompiler)
|
|
|
|
// Coroutines
|
|
implementation(Dependencies.coroutinesCore)
|
|
implementation(Dependencies.coroutinesAndroid)
|
|
|
|
// Testing
|
|
testImplementation(Dependencies.junit)
|
|
}
|
|
|