plugins { id 'com.android.application' id 'kotlin-android' id 'kotlin-kapt' id 'dagger.hilt.android.plugin' } android { compileSdk 32 defaultConfig { applicationId "com.example.androiddevchallenge" minSdk 23 targetSdk 32 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables { useSupportLibrary true } } signingConfigs { // We use a bundled debug keystore, to allow debug builds from CI to be upgradable debug { storeFile rootProject.file('debug.keystore') storePassword 'android' keyAlias 'androiddebugkey' keyPassword 'android' } } buildTypes { debug { signingConfig signingConfigs.debug } release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } kotlinOptions { jvmTarget = "1.8" } buildFeatures { compose true // Disable unused AGP features buildConfig false aidl false renderScript false resValues false shaders false } composeOptions { kotlinCompilerExtensionVersion compose_version } packagingOptions { // Multiple dependency bring these files in. Exclude them to enable // our test APK to build (has no effect on our AARs) excludes += "/META-INF/AL2.0" excludes += "/META-INF/LGPL2.1" } } dependencies { implementation 'androidx.core:core-ktx:1.8.0' implementation 'androidx.appcompat:appcompat:1.4.2' implementation 'com.google.android.material:material:1.6.1' implementation "androidx.activity:activity-compose:1.5.0" implementation "androidx.compose.ui:ui:$compose_version" implementation "androidx.compose.material:material:$compose_version" implementation "androidx.compose.material:material-icons-extended:$compose_version" implementation "androidx.compose.ui:ui-tooling:$compose_version" implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.0' implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.6.0-alpha01" // navigation compose implementation "androidx.navigation:navigation-compose:2.5.0" // coroutines implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.1" // viewmodel and livedata implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.0" implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.5.0" //dagger hilt implementation "androidx.hilt:hilt-navigation:1.0.0" implementation "com.google.dagger:hilt-android:2.42" kapt "com.google.dagger:hilt-android-compiler:2.42" kapt "androidx.hilt:hilt-compiler:1.0.0" // retrofit implementation "com.squareup.retrofit2:retrofit:2.9.0" implementation 'com.squareup.retrofit2:converter-gson:2.9.0' implementation "androidx.security:security-crypto:1.1.0-alpha03" // coil-compose implementation "io.coil-kt:coil-compose:2.1.0" // accompanist navigation animation implementation "com.google.accompanist:accompanist-navigation-animation:0.24.13-rc" // core splash screen implementation "androidx.core:core-splashscreen:1.0.0-rc01" testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.3' androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version" }