2024-03-25 16:33:25 +01:00
|
|
|
plugins {
|
|
|
|
alias(libs.plugins.androidApplication)
|
|
|
|
alias(libs.plugins.jetbrainsKotlinAndroid)
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace = "uk.kagurach.android101"
|
|
|
|
compileSdk = 34
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId = "uk.kagurach.android101"
|
|
|
|
minSdk = 31
|
|
|
|
targetSdk = 34
|
2024-04-26 07:49:24 +02:00
|
|
|
versionCode = 141
|
|
|
|
versionName = "1.4.1"
|
2024-03-25 16:33:25 +01:00
|
|
|
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
isMinifyEnabled = false
|
|
|
|
proguardFiles(
|
|
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
|
|
"proguard-rules.pro"
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
|
|
}
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "17"
|
|
|
|
}
|
2024-04-26 07:42:06 +02:00
|
|
|
buildFeatures {
|
|
|
|
compose = true
|
|
|
|
viewBinding = true
|
|
|
|
}
|
|
|
|
composeOptions {
|
|
|
|
kotlinCompilerExtensionVersion = "1.5.1"
|
|
|
|
}
|
|
|
|
androidResources {
|
|
|
|
generateLocaleConfig = true
|
|
|
|
}
|
2024-03-25 16:33:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation(libs.androidx.core.ktx)
|
|
|
|
implementation(libs.androidx.appcompat)
|
|
|
|
implementation(libs.material)
|
|
|
|
implementation(libs.androidx.activity)
|
|
|
|
implementation(libs.androidx.constraintlayout)
|
2024-04-26 07:42:06 +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)
|
|
|
|
implementation(libs.androidx.room.common)
|
|
|
|
implementation(libs.androidx.room.ktx)
|
|
|
|
implementation(libs.androidx.constraintlayout)
|
|
|
|
implementation(libs.androidx.navigation.fragment.ktx)
|
|
|
|
implementation(libs.androidx.navigation.ui.ktx)
|
|
|
|
implementation(libs.androidx.activity)
|
|
|
|
implementation(libs.androidx.annotation)
|
|
|
|
implementation(libs.androidx.lifecycle.livedata.ktx)
|
|
|
|
implementation(libs.androidx.lifecycle.viewmodel.ktx)
|
|
|
|
|
2024-03-25 16:33:25 +01:00
|
|
|
testImplementation(libs.junit)
|
2024-04-26 07:42:06 +02:00
|
|
|
|
2024-03-25 16:33:25 +01:00
|
|
|
androidTestImplementation(libs.androidx.junit)
|
|
|
|
androidTestImplementation(libs.androidx.espresso.core)
|
2024-04-26 07:42:06 +02:00
|
|
|
|
|
|
|
androidTestImplementation(platform(libs.androidx.compose.bom))
|
|
|
|
androidTestImplementation(libs.androidx.ui.test.junit4)
|
|
|
|
|
|
|
|
debugImplementation(libs.androidx.ui.tooling)
|
|
|
|
debugImplementation(libs.androidx.ui.test.manifest)
|
2024-03-25 16:33:25 +01:00
|
|
|
}
|