| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- plugins {
- id("com.android.application")
- id("org.jetbrains.kotlin.android")
- id("com.google.devtools.ksp")
- }
- android {
- namespace = "com.tixing.app"
- compileSdk = 35
- defaultConfig {
- applicationId = "com.tixing.app"
- minSdk = 24
- targetSdk = 35
- versionCode = 1
- versionName = "1.0"
- testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
- vectorDrawables {
- useSupportLibrary = true
- }
- }
- buildTypes {
- release {
- isMinifyEnabled = false
- proguardFiles(
- getDefaultProguardFile("proguard-android-optimize.txt"),
- "proguard-rules.pro"
- )
- }
- }
- compileOptions {
- sourceCompatibility = JavaVersion.VERSION_17
- targetCompatibility = JavaVersion.VERSION_17
- isCoreLibraryDesugaringEnabled = true
- }
- kotlinOptions {
- jvmTarget = "17"
- }
- buildFeatures {
- compose = true
- }
- composeOptions {
- kotlinCompilerExtensionVersion = "1.5.14"
- }
- packaging {
- resources {
- excludes += "/META-INF/{AL2.0,LGPL2.1}"
- }
- }
- }
- dependencies {
- val composeBom = platform("androidx.compose:compose-bom:2024.06.00")
- implementation(composeBom)
- androidTestImplementation(composeBom)
- implementation("androidx.core:core-ktx:1.13.1")
- implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.4")
- implementation("androidx.lifecycle:lifecycle-runtime-compose:2.8.4")
- implementation("androidx.activity:activity-compose:1.9.1")
- implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.8.4")
- implementation("androidx.compose.ui:ui")
- implementation("androidx.compose.ui:ui-tooling-preview")
- implementation("androidx.compose.material3:material3")
- implementation("androidx.compose.material:material-icons-extended")
- implementation("androidx.navigation:navigation-compose:2.7.7")
- implementation("com.google.android.material:material:1.12.0")
- implementation("androidx.room:room-runtime:2.6.1")
- implementation("androidx.room:room-ktx:2.6.1")
- ksp("androidx.room:room-compiler:2.6.1")
- implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1")
- implementation("androidx.work:work-runtime-ktx:2.9.1")
- coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.2")
- testImplementation("junit:junit:4.13.2")
- androidTestImplementation("androidx.test.ext:junit:1.2.1")
- androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")
- androidTestImplementation("androidx.compose.ui:ui-test-junit4")
- debugImplementation("androidx.compose.ui:ui-tooling")
- debugImplementation("androidx.compose.ui:ui-test-manifest")
- }
|