59 lines
1.5 KiB
Plaintext
59 lines
1.5 KiB
Plaintext
// [FILE] feature/inventory/build.gradle.kts
|
|
// [SEMANTICS] build, dependencies
|
|
plugins {
|
|
id("com.android.library")
|
|
id("org.jetbrains.kotlin.android")
|
|
id("kotlin-kapt")
|
|
id("dagger.hilt.android.plugin")
|
|
}
|
|
|
|
android {
|
|
namespace = "com.homebox.lens.feature.inventory"
|
|
compileSdk = Versions.compileSdk
|
|
|
|
defaultConfig {
|
|
minSdk = Versions.minSdk
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "17"
|
|
}
|
|
buildFeatures {
|
|
compose = true
|
|
}
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion = Versions.composeCompiler
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":domain"))
|
|
implementation(project(":ui"))
|
|
|
|
// AndroidX & Lifecycle
|
|
implementation(Libs.coreKtx)
|
|
implementation(Libs.lifecycleRuntime)
|
|
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.6.2")
|
|
|
|
// Compose
|
|
implementation(platform(Libs.composeBom))
|
|
implementation(Libs.composeUi)
|
|
implementation(Libs.composeUiGraphics)
|
|
implementation(Libs.composeUiToolingPreview)
|
|
implementation(Libs.composeMaterial3)
|
|
implementation(Libs.navigationCompose)
|
|
implementation(Libs.hiltNavigationCompose)
|
|
|
|
// Hilt
|
|
implementation(Libs.hiltAndroid)
|
|
kapt(Libs.hiltCompiler)
|
|
|
|
// Other
|
|
implementation(Libs.timber)
|
|
implementation("io.coil-kt:coil-compose:2.4.0")
|
|
}
|
|
// [END_FILE_feature/inventory/build.gradle.kts] |