| import com.matter.buildsrc.Deps |
| import com.matter.buildsrc.Versions |
| |
| plugins { |
| id("com.android.library") |
| id("org.jetbrains.kotlin.android") |
| id("com.google.dagger.hilt.android") |
| kotlin("kapt") |
| } |
| |
| android { |
| namespace = "com.matter.virtual.device.app.core.ui" |
| compileSdk = Versions.compileSdkVersion |
| |
| defaultConfig { |
| minSdk = Versions.minSdkVersion |
| targetSdk = Versions.targetSdkVersion |
| |
| testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" |
| consumerProguardFiles("consumer-rules.pro") |
| } |
| |
| buildTypes { |
| release { |
| isMinifyEnabled = false |
| proguardFiles( |
| getDefaultProguardFile("proguard-android-optimize.txt"), |
| "proguard-rules.pro" |
| ) |
| } |
| } |
| compileOptions { |
| sourceCompatibility = JavaVersion.VERSION_1_8 |
| targetCompatibility = JavaVersion.VERSION_1_8 |
| } |
| kotlinOptions { |
| jvmTarget = "1.8" |
| } |
| buildFeatures { |
| viewBinding = true |
| dataBinding = true |
| } |
| } |
| |
| dependencies { |
| |
| implementation(project(":core:common")) |
| implementation(project(":core:domain")) |
| implementation(project(":core:model")) |
| |
| implementation(Deps.AndroidX.core) |
| implementation(Deps.AndroidX.appcompat) |
| implementation(Deps.AndroidX.fragment) |
| implementation(Deps.AndroidX.Lifecycle.viewmodel) |
| implementation(Deps.material) |
| |
| implementation(Deps.Kotlin.serialization) |
| |
| implementation(Deps.Dagger.hiltAndroid) |
| kapt(Deps.Dagger.hiltAndroidCompiler) |
| |
| implementation(Deps.timber) |
| |
| testImplementation(Deps.Test.junit) |
| androidTestImplementation(Deps.Test.junitExt) |
| androidTestImplementation(Deps.Test.espresso) |
| } |