plugins { id 'com.android.application' id 'org.jetbrains.kotlin.android' id 'org.jetbrains.kotlin.kapt' id 'com.google.gms.google-services' } android { namespace 'edu.utap.stocknewsapp' compileSdk 33 defaultConfig { applicationId "edu.utap.stocknewsapp" minSdk 30 targetSdk 33 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled 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' } buildFeatures { viewBinding true } } dependencies { implementation 'androidx.core:core-ktx:1.9.0' implementation 'androidx.appcompat:appcompat:1.5.1' implementation 'com.google.android.material:material:1.7.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.navigation:navigation-fragment-ktx:2.5.3' implementation 'androidx.navigation:navigation-ui-ktx:2.5.3' implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0" implementation "androidx.recyclerview:recyclerview:1.3.0-rc01" testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.4' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0' // 1.6.0 requires API 33 implementation "androidx.activity:activity-ktx:1.6.1" implementation "androidx.fragment:fragment-ktx:1.5.4" implementation 'androidx.recyclerview:recyclerview:1.2.1' // https://developer.android.com/jetpack/androidx/releases/lifecycle // ViewModel implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1" // LiveData implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.5.1" //adding retrofit to the app implementation 'com.squareup.retrofit2:retrofit:2.9.0' implementation 'com.squareup.retrofit2:converter-gson:2.9.0' implementation 'com.squareup.okhttp3:logging-interceptor:4.10.0' // Glide implementation 'com.github.bumptech.glide:glide:4.13.2' kapt 'com.github.bumptech.glide:compiler:4.13.2' kapt 'com.github.bumptech.glide:compiler:4.13.2' kapt 'androidx.annotation:annotation:1.5.0' // Import the Firebase BoM implementation platform('com.google.firebase:firebase-bom:31.1.0') // TODO: Add the dependencies for Firebase products you want to use // When using the BoM, don't specify versions in Firebase dependencies implementation 'com.google.firebase:firebase-analytics-ktx' // Add the dependencies for any other desired Firebase products // https://firebase.google.com/docs/android/setup#available-libraries // Firebase stuff // Import the BoM (bill of materials) for the Firebase platform implementation platform('com.google.firebase:firebase-bom:30.3.1') // Declare the dependency for the Firebase Authentication library // When using the BoM, you don't specify versions in Firebase library dependencies implementation 'com.google.firebase:firebase-analytics-ktx' implementation 'com.google.firebase:firebase-auth-ktx' implementation 'com.google.firebase:firebase-firestore-ktx' implementation 'com.firebaseui:firebase-ui-auth:8.0.2' implementation platform('com.google.firebase:firebase-bom:31.0.2') }