55 lines
1.4 KiB
Plaintext
55 lines
1.4 KiB
Plaintext
// [FILE] ui/build.gradle.kts
|
|
// [SEMANTICS] build, dependencies, ui
|
|
plugins {
|
|
id("com.android.library")
|
|
id("org.jetbrains.kotlin.android")
|
|
id("kotlin-kapt") // Add kapt for Hilt
|
|
}
|
|
|
|
android {
|
|
namespace = "com.homebox.lens.ui"
|
|
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 {
|
|
// AndroidX
|
|
implementation(Libs.coreKtx)
|
|
implementation(Libs.lifecycleRuntime) // For androidx.lifecycle:lifecycle-runtime-ktx
|
|
|
|
// Compose
|
|
implementation(platform(Libs.composeBom))
|
|
implementation(Libs.composeUi)
|
|
implementation(Libs.composeUiGraphics)
|
|
implementation(Libs.composeUiToolingPreview)
|
|
implementation(Libs.composeMaterial3)
|
|
implementation(Libs.activityCompose)
|
|
implementation("androidx.compose.material:material-icons-extended-android:1.6.8")
|
|
implementation(Libs.navigationCompose) // For NavigationActions
|
|
implementation(Libs.hiltNavigationCompose) // For Hilt with Compose
|
|
|
|
// Hilt
|
|
implementation(Libs.hiltAndroid)
|
|
kapt(Libs.hiltCompiler)
|
|
|
|
// Other
|
|
implementation(Libs.timber)
|
|
}
|
|
// [END_FILE_ui/build.gradle.kts] |