Files
hpos/app/build.gradle

138 lines
4.8 KiB
Groovy
Raw Normal View History

plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'com.google.firebase.appdistribution'
2023-06-28 12:41:18 +05:30
id 'dagger.hilt.android.plugin'
id 'com.google.gms.google-services'
2023-06-28 12:41:18 +05:30
id 'androidx.navigation.safeargs.kotlin'
id 'kotlin-kapt'
2023-08-23 12:07:25 +05:30
id 'com.google.firebase.crashlytics'
}
//apply plugin: 'kotlin-android'
android {
2023-08-14 21:12:14 +05:30
compileSdk 34
2023-06-28 12:41:18 +05:30
namespace 'in.sminnovations.hpostesting'
2023-11-13 08:06:24 +05:30
// prod - production, preprod - preproduction, quality - qc,
defaultConfig {
2023-12-13 18:56:40 +05:30
applicationId "in.sminnovations.hpostesting"
minSdk 21
2023-08-14 21:12:14 +05:30
targetSdk 34
2023-12-15 14:37:41 +05:30
versionCode 56
versionName "2.1.56"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
2023-06-28 12:41:18 +05:30
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
2023-06-28 12:41:18 +05:30
jvmTarget = '17'
}
dataBinding {
enabled = true
}
buildFeatures {
viewBinding true
2023-09-05 17:20:21 +05:30
buildConfig = true
}
2023-08-08 15:30:46 +05:30
lint {
abortOnError false
checkReleaseBuilds false
}
packagingOptions {
exclude 'mockito-extensions/org.mockito.plugins.MockMaker'
}
}
dependencies {
implementation "com.google.dagger:hilt-android:2.46"
kapt "com.google.dagger:hilt-android-compiler:2.46"
2023-09-16 05:43:27 +00:00
implementation 'androidx.core:core-ktx:1.12.0'
2023-06-28 12:41:18 +05:30
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.10.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
2023-09-16 05:43:27 +00:00
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.6.2'
implementation 'androidx.fragment:fragment-ktx:1.6.2'
2023-06-28 12:41:18 +05:30
//firebase
implementation platform('com.google.firebase:firebase-bom:32.1.0')
2023-10-22 18:28:33 +05:30
implementation("com.google.firebase:firebase-perf-ktx")
2023-08-23 12:07:25 +05:30
implementation("com.google.firebase:firebase-crashlytics-ktx")
implementation("com.google.firebase:firebase-analytics-ktx")
2023-06-28 12:41:18 +05:30
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'
2023-09-16 05:43:27 +00:00
implementation 'com.google.android.gms:play-services-auth:20.7.0'
implementation 'com.google.android.gms:play-services-location:21.0.1'
2023-06-28 12:41:18 +05:30
implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1'
2023-08-18 12:20:21 +05:30
implementation 'com.google.android.things:androidthings:1.0'
implementation 'com.google.firebase:firebase-appdistribution:16.0.0-beta11'
implementation("com.google.firebase:firebase-appdistribution-api-ktx:16.0.0-beta11")
implementation 'androidx.preference:preference-ktx:1.2.1'
implementation 'androidx.preference:preference-ktx:1.2.1'
2023-09-15 17:26:38 +05:30
// Testing
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
2023-11-17 14:48:53 +05:30
// Mockito dependencies
testImplementation 'org.mockito:mockito-core:3.12.4'
androidTestImplementation 'org.mockito:mockito-android:3.12.4'
androidTestImplementation 'org.mockito:mockito-inline:3.12.4'
testImplementation "androidx.arch.core:core-testing:2.2.0"
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.1'
2023-09-16 05:43:27 +00:00
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2"
implementation 'com.opencsv:opencsv:4.6'
2023-08-09 14:51:44 +05:30
implementation 'com.github.mik3y:usb-serial-for-android:3.5.1'
implementation "androidx.fragment:fragment-ktx:1.6.2"
// 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
2023-08-09 14:51:44 +05:30
implementation 'com.google.android.gms:play-services-code-scanner:16.1.0'
2023-06-28 12:41:18 +05:30
//Room
implementation "androidx.room:room-ktx:2.6.0"
implementation "androidx.room:room-runtime:2.6.0"
kapt ("androidx.room:room-compiler:2.6.0")
2023-06-28 12:41:18 +05:30
//image
implementation 'com.github.bumptech.glide:glide:4.13.2'
2023-08-23 12:07:25 +05:30
annotationProcessor 'com.github.bumptech.glide:compiler:4.13.2'
2023-06-28 12:41:18 +05:30
// Navigation Component
implementation "androidx.navigation:navigation-fragment-ktx:2.7.5"
implementation "androidx.navigation:navigation-ui-ktx:2.7.5"
2023-06-28 12:41:18 +05:30
//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.1.0"
2023-06-28 12:41:18 +05:30
// Retrofit + GSON
implementation "com.squareup.retrofit2:retrofit:2.9.0"
implementation "com.squareup.retrofit2:converter-gson:2.9.0"
implementation "androidx.preference:preference-ktx:1.2.1"
2023-06-28 12:41:18 +05:30
}