appforkids/app/build.gradle.kts

66 lines
2.0 KiB
Plaintext
Raw Permalink Normal View History

2024-12-18 03:41:09 +00:00
plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kotlin.compose)
2024-12-19 04:14:02 +00:00
kotlin("plugin.serialization") version "2.0.21"
2024-12-18 03:41:09 +00:00
}
android {
namespace = "com.example.appforkids"
compileSdk = 34
defaultConfig {
applicationId = "com.example.appforkids"
minSdk = 24
targetSdk = 34
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = "11"
}
buildFeatures {
compose = true
}
}
dependencies {
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.lifecycle.runtime.ktx)
implementation(libs.androidx.activity.compose)
implementation(platform(libs.androidx.compose.bom))
2024-12-19 04:14:02 +00:00
implementation(libs.retrofit)
implementation (libs.converter.kotlinx.serialization)
implementation(libs.kotlinx.serialization.json)
implementation (libs.androidx.navigation.compose)
implementation(libs.androidx.lifecycle.viewmodel.compose)
2024-12-18 03:41:09 +00:00
implementation(libs.androidx.ui)
implementation(libs.androidx.ui.graphics)
implementation(libs.androidx.ui.tooling.preview)
implementation(libs.androidx.material3)
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)
}