plugins { id("com.android.application") kotlin("android") kotlin("kapt") id("com.google.dagger.hilt.android") } android { namespace = "com.socialapp" compileSdk = 34 defaultConfig { applicationId = "com.socialapp" minSdk = 24 targetSdk = 34 versionCode = 1 versionName = "1.0.0" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { isMinifyEnabled = true proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") } } compileOptions { sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 } kotlinOptions { jvmTarget = "11" } buildFeatures { compose = true } composeOptions { kotlinCompilerExtensionVersion = "1.5.10" } } dependencies { // Core Android implementation("androidx.core:core-ktx:1.12.0") implementation("androidx.appcompat:appcompat:1.6.1") implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.7.0") // Jetpack Compose implementation(platform("androidx.compose:compose-bom:2024.01.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") implementation("androidx.activity:activity-compose:1.8.1") implementation("androidx.navigation:navigation-compose:2.7.7") // Networking implementation("com.squareup.retrofit2:retrofit:2.10.0") implementation("com.squareup.retrofit2:converter-moshi:2.10.0") implementation("com.squareup.okhttp3:okhttp:4.11.0") implementation("com.squareup.okhttp3:logging-interceptor:4.11.0") implementation("com.squareup.moshi:moshi-kotlin:1.15.1") implementation("com.auth0:java-jwt:4.4.0") // Local Storage implementation("androidx.room:room-runtime:2.6.1") implementation("androidx.room:room-ktx:2.6.1") kapt("androidx.room:room-compiler:2.6.1") // Image Loading implementation("io.coil-kt:coil-compose:2.6.0") // Video Player implementation("androidx.media3:media3-exoplayer:1.2.0") implementation("androidx.media3:media3-ui:1.2.0") // Dependency Injection implementation("com.google.dagger:hilt-android:2.51") kapt("com.google.dagger:hilt-compiler:2.51") implementation("androidx.hilt:hilt-navigation-compose:1.1.0") // Coroutines implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3") implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3") // Testing testImplementation("junit:junit:4.13.2") androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1") }