plugins { id("com.android.application") id("org.jetbrains.kotlin.android") id("com.google.gms.google-services") id("com.google.devtools.ksp") id("com.google.dagger.hilt.android") id ("kotlin-android") } android { namespace = "com.example.fitzone" compileSdk = 34 defaultConfig { applicationId = "com.example.fitzone" minSdk = 27 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 { isCoreLibraryDesugaringEnabled sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = "1.8" } 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.0") 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("com.google.android.material:material:1.12.0") implementation("com.google.firebase:firebase-auth:23.0.0") implementation("com.google.firebase:firebase-database:21.0.0") implementation("com.google.firebase:firebase-firestore:25.0.0") implementation("com.google.firebase:firebase-common-ktx:21.0.0") implementation("com.google.firebase:firebase-storage:21.0.0") implementation("androidx.media3:media3-common:1.3.1") testImplementation("junit:junit:4.13.2") androidTestImplementation("androidx.test.ext:junit:1.1.5") androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1") 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("io.coil-kt:coil-compose:2.6.0") implementation("io.coil-kt:coil-svg:2.2.2") implementation ("androidx.navigation:navigation-compose:2.7.7") // Retrofit implementation("com.squareup.retrofit2:retrofit:2.9.0") implementation("com.squareup.retrofit2:converter-gson:2.9.0") implementation("com.squareup.okhttp3:okhttp:4.12.0") implementation("com.squareup.okhttp3:logging-interceptor:4.10.0") // Coil implementation("io.coil-kt:coil-compose:2.6.0") implementation ("io.github.vanpra.compose-material-dialogs:datetime:0.8.1-rc") coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.4") implementation("androidx.compose.material3:material3-android:1.2.0-rc01") implementation(platform("com.google.firebase:firebase-bom:33.0.0")) implementation("com.google.firebase:firebase-analytics") implementation("com.google.firebase:firebase-auth:23.0.0") implementation("com.squareup.moshi:moshi-kotlin:1.9.1") implementation ("com.google.firebase:firebase-messaging:24.0.0") implementation("com.google.firebase:firebase-appcheck-playintegrity") implementation("io.coil-kt:coil-compose:2.6.0") val room_version = "2.6.1" implementation("androidx.room:room-runtime:$room_version") annotationProcessor("androidx.room:room-compiler:$room_version") ksp("androidx.room:room-compiler:$room_version") // optional - Kotlin Extensions and Coroutines support for Room implementation("androidx.room:room-ktx:$room_version") // optional - RxJava2 support for Room implementation("androidx.room:room-rxjava2:$room_version") // optional - RxJava3 support for Room implementation("androidx.room:room-rxjava3:$room_version") // optional - Guava support for Room, including Optional and ListenableFuture implementation("androidx.room:room-guava:$room_version") // optional - Test helpers testImplementation("androidx.room:room-testing:$room_version") // optional - Paging 3 Integration implementation("androidx.room:room-paging:$room_version") implementation("com.google.dagger:hilt-android:2.44") ksp("com.google.dagger:hilt-android-compiler:2.44") implementation("androidx.lifecycle:lifecycle-runtime-compose:2.8.1") testImplementation ("io.mockk:mockk:1.13.11") androidTestImplementation ("androidx.compose.ui:ui-test-junit4:1.6.7") debugImplementation ("androidx.compose.ui:ui-test-manifest:1.6.7") testImplementation("junit:junit:4.13.2") testImplementation ("org.mockito:mockito-core:2.24.5") androidTestImplementation ("org.mockito:mockito-android:2.24.5") implementation ("androidx.test:core:1.5.0") testImplementation ("androidx.test.runner.AndroidJUnitRunner:1.3.0") androidTestImplementation ("androidx.test.ext:junit:1.1.5") androidTestImplementation ("androidx.test:runner:1.5.2") androidTestImplementation ("androidx.test.espresso:espresso-core:3.5.1") debugImplementation ("androidx.compose.ui:ui-tooling:1.6.7") testImplementation ("org.mockito:mockito-inline:3.11.2") }