plugins { id("com.android.application") id("org.jetbrains.kotlin.android") } android { namespace = "com.classnotify.app" compileSdk = 34 defaultConfig { applicationId = "com.classnotify.app" minSdk = 26 targetSdk = 34 versionCode = 1 versionName = "2.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 } kotlinOptions { jvmTarget = "17" } buildFeatures { compose = true buildConfig = true } composeOptions { kotlinCompilerExtensionVersion = "1.5.11" } testOptions { unitTests.isReturnDefaultValues = true } packaging { resources { excludes += "/META-INF/{AL2.0,LGPL2.1}" } } } dependencies { // AndroidX Core & Lifecycle implementation("androidx.core:core-ktx:1.12.0") implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.7.0") implementation("androidx.lifecycle:lifecycle-process:2.7.0") implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.7.0") implementation("androidx.activity:activity-compose:1.8.2") // Jetpack Compose & Material 3 val composeBom = platform("androidx.compose:compose-bom:2024.04.00") implementation(composeBom) implementation("androidx.compose.ui:ui") implementation("androidx.compose.ui:ui-graphics") 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") // Retrofit & OkHttp 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.12.0") // Microsoft SignalR Client implementation("com.microsoft.signalr:signalr:8.0.0") // Coroutines implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.0") // Security Crypto / Encrypted SharedPreferences implementation("androidx.security:security-crypto:1.1.0-alpha06") // Testing testImplementation("junit:junit:4.13.2") testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.8.0") testImplementation("org.mockito:mockito-core:5.11.0") testImplementation("org.mockito.kotlin:mockito-kotlin:5.2.1") testImplementation("com.squareup.okhttp3:mockwebserver:4.12.0") // Android Instrumentation Testing androidTestImplementation("androidx.test.ext:junit:1.1.5") androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1") androidTestImplementation("androidx.test:runner:1.5.2") androidTestImplementation("androidx.test:rules:1.5.0") androidTestImplementation(composeBom) androidTestImplementation("androidx.compose.ui:ui-test-junit4") // Debugging debugImplementation("androidx.compose.ui:ui-tooling") debugImplementation("androidx.compose.ui:ui-test-manifest") }