1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- @Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed
- plugins {
- alias(libs.plugins.android.application)
- alias(libs.plugins.org.jetbrains.kotlin.android)
- alias(libs.plugins.com.google.devtools.ksp)
- alias(libs.plugins.dagger.hilt)
- }
- android {
- namespace = "com.codeskraps.weather"
- compileSdk = ConfigData.compileSdk
- defaultConfig {
- applicationId = "com.arklan.weather"
- minSdk = ConfigData.minSdk
- targetSdk = ConfigData.targetSdk
- versionCode = 10
- versionName = "2.0"
- 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 ":feature:geocoding")))
- implementation(project(mapOf("path" to ":feature:weather")))
- implementation(project(mapOf("path" to ":feature:maps")))
- 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)
- implementation(libs.hilt.navigation.compose)
- ksp(libs.hilt.android.compiler)
- implementation(libs.coroutines.test)
- testImplementation(libs.junit.junit)
- androidTestImplementation(composeBom)
- androidTestImplementation(libs.androidx.junit)
- androidTestImplementation(libs.espresso.core)
- androidTestImplementation(libs.androidx.compose.test.junit4)
- debugImplementation(libs.androidx.compose.tooling)
- debugImplementation(libs.androidx.compose.test.manifest)
- }
|