123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- plugins {
- id("com.android.application")
- id("org.jetbrains.kotlin.android")
- id("com.google.gms.google-services")
- id("com.google.devtools.ksp")
- id ("kotlin-android")
- id("com.google.dagger.hilt.android")
- }
- android {
- namespace = "com.example.tasks"
- compileSdk = 34
- defaultConfig {
- applicationId = "com.example.tasks"
- minSdk = 26
- targetSdk = 34
- 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_1_8
- targetCompatibility = JavaVersion.VERSION_1_8
- }
- kotlinOptions {
- jvmTarget = "1.8"
- }
- packagingOptions {
- resources {
- excludes += "/META-INF/{AL2.0,LGPL2.1}"
- merges += "META-INF/LICENSE.md"
- merges += "META-INF/LICENSE-notice.md"
- }
- }
- buildFeatures {
- compose = true
- }
- composeOptions {
- kotlinCompilerExtensionVersion = "1.5.1"
- }
- packaging {
- resources {
- excludes += "/META-INF/{AL2.0,LGPL2.1}"
- }
- }
- }
- dependencies {
- implementation("androidx.core:core-ktx:1.13.1")
- implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.3")
- implementation("androidx.activity:activity-compose:1.9.0")
- implementation(platform("androidx.compose:compose-bom:2023.08.00"))
- implementation("androidx.compose.ui:ui")
- implementation("androidx.compose.ui:ui-graphics")
- implementation("androidx.compose.ui:ui-tooling-preview")
- implementation("androidx.compose.material3:material3:1.2.0-rc01")
- implementation("androidx.navigation:navigation-compose:2.7.7")
- implementation("com.google.firebase:firebase-firestore:25.0.0")
- testImplementation("junit:junit:4.13.2")
- androidTestImplementation("androidx.test.ext:junit:1.2.1")
- androidTestImplementation ("androidx.test:core:1.4.1-alpha04")
- androidTestImplementation("androidx.test.espresso:espresso-core:3.5.0-alpha04")
- androidTestImplementation(platform("androidx.compose:compose-bom:2023.08.00"))
- androidTestImplementation("androidx.compose.ui:ui-test-junit4")
- debugImplementation("androidx.compose.ui:ui-tooling")
- debugImplementation("androidx.compose.ui:ui-test-manifest")
- implementation(platform("com.google.firebase:firebase-bom:33.1.1"))
- implementation("com.google.firebase:firebase-analytics")
- implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.8.3")
- implementation ("io.github.vanpra.compose-material-dialogs:datetime:0.8.1-rc")
- coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.4")
- implementation("androidx.room:room-runtime:2.6.1")
- annotationProcessor("androidx.room:room-compiler:2.6.1")
- // optional - Kotlin Extensions and Coroutines support for Room
- implementation("androidx.room:room-ktx:2.6.1")
- // optional - RxJava2 support for Room
- implementation("androidx.room:room-rxjava2:2.6.1")
- // optional - RxJava3 support for Room
- implementation("androidx.room:room-rxjava3:2.6.1")
- // optional - Guava support for Room, including Optional and ListenableFuture
- implementation("androidx.room:room-guava:2.6.1")
- // optional - Test helpers
- testImplementation("androidx.room:room-testing:2.6.1")
- // optional - Paging 3 Integration
- implementation("androidx.room:room-paging:2.6.1")
- ksp("androidx.room:room-compiler:2.6.1")
- implementation("com.google.accompanist:accompanist-swiperefresh:0.27.0")
- 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:1.6.8")
- debugImplementation("androidx.compose.ui:ui-tooling:1.6.8")
- androidTestImplementation("androidx.test.ext:junit:1.2.1")
- androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")
- androidTestImplementation("androidx.compose.ui:ui-test-junit4:1.6.8")
- debugImplementation("androidx.compose.ui:ui-tooling:1.6.8")
- testImplementation("androidx.test:core:1.6.1")
- testImplementation("junit:junit:4.13.2")
- testImplementation("androidx.arch.core:core-testing:2.2.0")
- testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.4")
- testImplementation("com.google.truth:truth:1.1.3")
- testImplementation("com.squareup.okhttp3:mockwebserver:4.9.1")
- testImplementation("io.mockk:mockk:1.13.11")
- debugImplementation("androidx.compose.ui:ui-test-manifest:1.6.8")
- implementation("com.google.dagger:hilt-android:2.44")
- ksp("com.google.dagger:hilt-android-compiler:2.44")
- androidTestImplementation ("com.google.dagger:hilt-android-testing:2.38.1")
- implementation("io.mockk:mockk:1.13.11")
- debugImplementation ("androidx.test:monitor:1.7.1")
- val nav_version = "2.7.7"
- androidTestImplementation("androidx.navigation:navigation-testing:$nav_version")
- }
|