CoinCounter/app/build.gradle.kts

94 lines
2.5 KiB
Text
Raw Normal View History

2024-07-23 08:08:58 +02:00
plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.jetbrains.kotlin.android)
2024-08-10 17:08:24 +02:00
alias(libs.plugins.devtools.ksp)
alias(libs.plugins.compose.compiler)
id("kotlin-kapt")
alias(libs.plugins.hilt.android)
2024-07-23 08:08:58 +02:00
}
android {
namespace = "eu.m724.coincounter"
2024-08-08 16:59:33 +02:00
compileSdk = 35
2024-07-23 08:08:58 +02:00
defaultConfig {
applicationId = "eu.m724.coincounter"
2024-08-08 16:59:33 +02:00
minSdk = 30
targetSdk = 35
2024-08-14 13:36:19 +02:00
versionCode = 4
versionName = "2.0.1"
2024-07-23 08:08:58 +02:00
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
useSupportLibrary = true
}
2024-08-15 16:10:00 +02:00
buildConfigField("String", "CURRENCY_UNIT", "\"zł\"")
buildConfigField("String", "CURRENCY_CENT", "\"gr\"")
2024-07-23 08:08:58 +02:00
}
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 {
compose = true
2024-08-15 16:10:00 +02:00
buildConfig = true
2024-07-23 08:08:58 +02:00
}
composeOptions {
2024-08-10 17:08:24 +02:00
kotlinCompilerExtensionVersion = "1.5.15"
2024-07-23 08:08:58 +02:00
}
packaging {
resources {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
}
}
2024-10-01 15:52:45 +02:00
androidResources {
generateLocaleConfig = true
}
2024-07-23 08:08:58 +02:00
}
dependencies {
2024-08-10 17:08:24 +02:00
implementation(libs.hilt.android)
kapt(libs.hilt.android.compiler)
2024-07-23 08:08:58 +02:00
2024-08-10 17:08:24 +02:00
ksp(libs.androidx.room.compiler)
2024-07-23 08:08:58 +02:00
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.lifecycle.runtime.ktx)
implementation(libs.androidx.activity.compose)
implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.ui)
implementation(libs.androidx.ui.graphics)
implementation(libs.androidx.ui.tooling.preview)
implementation(libs.androidx.material3)
2024-08-10 17:08:24 +02:00
implementation(libs.androidx.room.runtime)
implementation(libs.androidx.room.ktx)
2024-07-23 08:08:58 +02:00
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
androidTestImplementation(platform(libs.androidx.compose.bom))
androidTestImplementation(libs.androidx.ui.test.junit4)
debugImplementation(libs.androidx.ui.tooling)
debugImplementation(libs.androidx.ui.test.manifest)
2024-08-10 17:08:24 +02:00
}
// Allow references to generated code
kapt {
correctErrorTypes = true
}