123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- @Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed
- plugins {
- alias(libs.plugins.android.library)
- alias(libs.plugins.org.jetbrains.kotlin.android)
- alias(libs.plugins.com.google.devtools.ksp)
- alias(libs.plugins.dagger.hilt)
- }
- android {
- namespace = "com.codeskraps.feature.geocoding"
- compileSdk = ConfigData.compileSdk
- defaultConfig {
- minSdk = ConfigData.minSdk
- testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
- vectorDrawables {
- useSupportLibrary = true
- }
- }
- buildTypes {
- release {
- isMinifyEnabled = false
- proguardFiles(
- getDefaultProguardFile("proguard-android-optimize.txt"),
- "proguard-rules.pro"
- )
- }
- }
- compileOptions {
- sourceCompatibility = ConfigData.javaVersion
- targetCompatibility = ConfigData.javaVersion
- }
- kotlinOptions {
- jvmTarget = ConfigData.javaTarget
- }
- buildFeatures {
- compose = true
- }
- composeOptions {
- kotlinCompilerExtensionVersion = ConfigData.kotlinCompiler
- }
- packaging {
- resources {
- excludes += "/META-INF/{AL2.0,LGPL2.1}"
- }
- }
- hilt {
- enableAggregatingTask = true
- }
- }
- dependencies {
- implementation(project(mapOf("path" to ":feature:common")))
- implementation(project(mapOf("path" to ":core:local")))
- implementation(libs.androidx.core.ktx)
- implementation(libs.androidx.lifecycle.runtime.ktx)
- implementation(libs.androidx.activity.compose)
- implementation(libs.androidx.navigation.compose)
- implementation(libs.androidx.lifecycle.runtime.compose)
- implementation(libs.android.compose.material3)
- val composeBom = platform(libs.androidx.compose.bom)
- implementation(composeBom)
- implementation(libs.androidx.compose.ui)
- implementation(libs.androidx.compose.graphics)
- implementation(libs.androidx.compose.tooling.preview)
- //Dagger - Hilt
- implementation(libs.hilt.android)
- ksp(libs.hilt.android.compiler)
- // Retrofit
- implementation(libs.retrofit.retrofit)
- implementation(libs.retrofit.converter.moshi)
- testImplementation(libs.junit.junit)
- androidTestImplementation(libs.androidx.junit)
- androidTestImplementation(libs.espresso.core)
- }
|