plugins { id 'com.android.application' id 'org.jetbrains.kotlin.android' id 'com.google.firebase.appdistribution' id 'dagger.hilt.android.plugin' id 'com.google.gms.google-services' id 'androidx.navigation.safeargs.kotlin' id 'kotlin-kapt' } //apply plugin: 'kotlin-android' android { compileSdk 33 namespace 'in.sminnovations.hpostesting' defaultConfig { applicationId "in.sminnovations.hpostesting" minSdk 21 targetSdk 33 versionCode 2 versionName "2.0.1" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 } kotlinOptions { jvmTarget = '17' } dataBinding { enabled = true } lintOptions { checkReleaseBuilds false // Or, if you prefer, you can continue to check for errors in release builds, // but continue the build even when errors are found: abortOnError false } buildFeatures { viewBinding true } } dependencies { implementation 'androidx.core:core-ktx:1.10.1' implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'com.google.android.material:material:1.9.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.6.1' //firebase implementation platform('com.google.firebase:firebase-bom:32.1.0') implementation 'com.google.firebase:firebase-firestore-ktx' implementation 'com.google.firebase:firebase-auth-ktx' implementation 'com.google.firebase:firebase-storage-ktx' implementation 'com.firebaseui:firebase-ui-firestore:8.0.2' implementation 'com.google.android.gms:play-services-auth:20.5.0' implementation 'com.google.android.gms:play-services-location:21.0.1' implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1' // Testing testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1" implementation 'com.opencsv:opencsv:4.6' implementation 'com.github.mik3y:usb-serial-for-android:3.4.6' implementation "androidx.fragment:fragment-ktx:1.6.0" // CSV read, write implementation 'com.opencsv:opencsv:4.6' // Barcode scanner implementation 'com.journeyapps:zxing-android-embedded:4.3.0' // Google ML Kit usign play services implementation 'com.google.android.gms:play-services-code-scanner:16.0.0' //Room implementation "androidx.room:room-ktx:2.6.0-alpha01" implementation "androidx.room:room-runtime:2.6.0-alpha01" kapt ("androidx.room:room-compiler:2.6.0-alpha01") //image implementation 'com.github.bumptech.glide:glide:4.13.2' annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0' // Navigation Component implementation "androidx.navigation:navigation-fragment-ktx:2.7.0-beta01" implementation "androidx.navigation:navigation-ui-ktx:2.7.0-beta01" //Dagger - Hilt implementation "com.google.dagger:hilt-android:2.46" kapt "com.google.dagger:hilt-android-compiler:2.46" kapt "androidx.hilt:hilt-compiler:1.0.0" // Retrofit + GSON implementation "com.squareup.retrofit2:retrofit:2.9.0" implementation "com.squareup.retrofit2:converter-gson:2.9.0" }