Files
hpos/app/build.gradle

170 lines
6.1 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'
2024-02-13 17:57:38 +05:30
// dev -> development, quality -> qc, uat -> User Acceptance Testing, preprod -> preproduction, prod -> production, iocl -> iocl-iisc production
defaultConfig {
2024-02-13 17:59:26 +05:30
applicationId "in.sminnovations.hpostesting.dev"
minSdk 21
2023-08-14 21:12:14 +05:30
targetSdk 34
2024-02-13 17:57:38 +05:30
versionCode 114
versionName "2.1.114"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
2024-02-02 13:16:26 +05:30
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'
}
2024-01-19 15:12:26 +05:30
// testOptions {
// unitTests {
// includeAndroidResources = true
// }
// }
}
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.11.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
2024-01-19 15:12:26 +05:30
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.7.0'
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'
2024-01-26 11:20:13 +05:30
implementation 'com.google.android.gms:play-services-location:21.1.0'
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'
implementation 'com.google.android.play:core:1.10.3'
implementation 'io.nats:jnats:2.11.2'
2023-09-15 17:26:38 +05:30
// Testing
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
2024-01-26 11:20:13 +05:30
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test:rules:1.0.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
2024-01-19 15:12:26 +05:30
testImplementation "androidx.work:work-testing:2.9.0"
2024-01-18 12:08:03 +05:30
androidTestImplementation 'androidx.test:core-ktx:1.5.0'
2024-01-19 15:12:26 +05:30
testImplementation 'androidx.fragment:fragment-testing:1.6.2'
testImplementation "org.robolectric:robolectric:4.7"
2024-01-18 12:08:03 +05:30
// mockk
testImplementation 'io.mockk:mockk:1.10.6'
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'
androidTestImplementation 'org.mockito:mockito-android:3.12.4'
2024-02-04 14:45:37 +05:30
testImplementation 'org.powermock:powermock-api-mockito2:2.0.9'
testImplementation 'org.powermock:powermock-module-junit4:2.0.9'
2023-11-17 14:48:53 +05:30
testImplementation "androidx.arch.core:core-testing:2.2.0"
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.1'
2024-01-19 15:12:26 +05:30
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0"
implementation 'com.opencsv:opencsv:5.9'
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
2023-12-14 13:59:48 +05:30
implementation 'com.opencsv:opencsv:5.9'
// Barcode scanner
implementation 'com.journeyapps:zxing-android-embedded:4.3.0'
2024-01-19 15:12:26 +05:30
// Google ML Kit using 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.1"
implementation "androidx.room:room-runtime:2.6.1"
kapt ("androidx.room:room-compiler:2.6.1")
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.6"
implementation "androidx.navigation:navigation-ui-ktx:2.7.6"
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("com.squareup.okhttp3:okhttp:4.9.3")
2023-06-28 12:41:18 +05:30
implementation "androidx.preference:preference-ktx:1.2.1"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1'
2024-01-06 16:32:00 +05:30
implementation("androidx.work:work-runtime-ktx:2.9.0")
// implementation("io.nats:jnats:2.11.2")
implementation 'com.google.android.play:core:1.10.3'
2024-02-02 16:13:13 +05:30
implementation fileTree(dir: 'libs', include: ['*.aar'])
2024-02-07 16:33:57 +05:30
implementation 'io.nats:jnats:2.11.4'
2023-06-28 12:41:18 +05:30
}