1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- import com.codeskraps.weather.ConfigData
- @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.core.location"
- compileSdk = ConfigData.compileSdk
- defaultConfig {
- minSdk = ConfigData.minSdk
- testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
- consumerProguardFiles("consumer-rules.pro")
- }
- buildTypes {
- release {
- isMinifyEnabled = ConfigData.isMinifyRelease
- proguardFiles(
- getDefaultProguardFile("proguard-android-optimize.txt"),
- "proguard-rules.pro"
- )
- }
- debug {
- isMinifyEnabled = ConfigData.isMinifyDebug
- }
- }
- compileOptions {
- sourceCompatibility = ConfigData.javaVersion
- targetCompatibility = ConfigData.javaVersion
- }
- kotlinOptions {
- jvmTarget = ConfigData.javaTarget
- }
- }
- dependencies {
- implementation(libs.androidx.core.ktx)
- implementation(libs.appcompat)
- implementation(libs.material)
- // Location Services
- implementation(libs.android.play.services.location)
- //Dagger - Hilt
- implementation(libs.hilt.android)
- ksp(libs.hilt.android.compiler)
- testImplementation(libs.junit.junit)
- androidTestImplementation(libs.androidx.junit)
- androidTestImplementation(libs.espresso.core)
- }
|