261 lines
8.6 KiB
Groovy
261 lines
8.6 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'org.jetbrains.kotlin.android'
|
|
id 'com.google.gms.google-services'
|
|
// id 'kotlin-kapt'
|
|
}
|
|
|
|
android {
|
|
packagingOptions {
|
|
exclude 'META-INF/DEPENDENCIES'
|
|
|
|
|
|
}
|
|
|
|
|
|
dataBinding {
|
|
enabled = true
|
|
}
|
|
|
|
lintOptions {
|
|
// Turns off checks for the issue IDs you specify.
|
|
disable 'TypographyFractions','TypographyQuotes'
|
|
// Turns on checks for the issue IDs you specify. These checks are in
|
|
// addition to the default lint checks.
|
|
enable 'RtlHardcoded','RtlCompat', 'RtlEnabled'
|
|
// To enable checks for only a subset of issue IDs and ignore all others,
|
|
// list the issue IDs with the 'check' property instead. This property overrides
|
|
// any issue IDs you enable or disable using the properties above.
|
|
checkOnly 'NewApi', 'InlinedApi'
|
|
// If set to true, turns off analysis progress reporting by lint.
|
|
quiet true
|
|
// if set to true (default), stops the build if errors are found.
|
|
abortOnError false
|
|
// if true, only report errors.
|
|
ignoreWarnings true
|
|
}
|
|
|
|
|
|
namespace 'com.example.retailapllication'
|
|
compileSdk 36
|
|
|
|
defaultConfig {
|
|
applicationId "com.example.retailapllication"
|
|
minSdk 26
|
|
targetSdk 34
|
|
versionCode 1
|
|
versionName "1.1.05"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
vectorDrawables.useSupportLibrary = true
|
|
dexOptions {
|
|
jumboMode = true
|
|
}
|
|
multiDexEnabled true
|
|
|
|
ndk {
|
|
abiFilters 'armeabi', 'arm64-v8a', 'armeabi-v7a', 'mips', 'mips64', 'x86', 'x86_64'
|
|
}
|
|
|
|
}
|
|
//
|
|
// splits {
|
|
// abi {
|
|
// enable true
|
|
// include 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
|
|
// universalApk false
|
|
// }
|
|
// }
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
buildTypes {
|
|
release {
|
|
shrinkResources true
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
proguardFiles 'proguard-rules.pro', 'proguard-android-optimize.txt'
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
jniLibs.srcDirs = ['libs']
|
|
assets.srcDirs = ['assets', 'src/main/assets', 'src/main/assets/']
|
|
}
|
|
}
|
|
signingConfigs {
|
|
release {
|
|
storeFile file('D:\\New folder\\Shree Bhargav Retail App\\Retail Application\\keyfile.jks.jks')
|
|
storePassword = 'Pre@pps'
|
|
keyPassword = 'Pre@pps'
|
|
keyAlias = 'key0'
|
|
}
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = '17'
|
|
}
|
|
viewBinding {
|
|
enabled = false
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation 'com.github.ChuckerTeam.Chucker:library:3.5.2'
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation fileTree(includes: ['*.aar'],dir: 'libs')
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
implementation 'com.google.android.material:material:1.12.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
implementation 'androidx.activity:activity:1.8.2'
|
|
implementation 'androidx.core:core-ktx:+'
|
|
implementation 'androidx.core:core-animation:1.0.0'
|
|
// implementation 'com.google.firebase:firebase-messaging-ktx:24.1.1'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
implementation 'com.jaredrummler:material-spinner:1.3.1'
|
|
|
|
implementation 'com.google.android.flexbox:flexbox:3.0.0'
|
|
implementation project(path: ':escposprinter')
|
|
implementation 'com.google.android.gms:play-services-maps:18.2.0'
|
|
implementation 'com.google.android.gms:play-services-location:21.0.1'
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:4.12.0'
|
|
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
|
|
implementation 'com.google.code.gson:gson:2.10.1'
|
|
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
|
|
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
|
|
implementation 'com.squareup.retrofit2:converter-scalars:2.9.0'
|
|
implementation 'com.squareup.picasso:picasso:2.71828'
|
|
implementation 'io.github.pilgr:paperdb:2.7.2'
|
|
|
|
|
|
// QR
|
|
implementation 'com.google.zxing:core:3.5.2'
|
|
implementation 'com.google.zxing:javase:3.5.2'
|
|
implementation 'com.journeyapps:zxing-android-embedded:4.3.0'
|
|
|
|
implementation 'io.github.chaosleung:pinview:1.4.4'
|
|
implementation 'com.github.EmHaseeb:ThermalPrinterESCPOS:1.0.1'
|
|
implementation 'org.osmdroid:osmdroid-android:6.1.16'
|
|
|
|
// Date Picker
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
|
// implementation 'com.google.android.material:material:1.4.0'
|
|
implementation 'uk.co.chrisjenx:calligraphy:2.3.0'
|
|
implementation 'com.github.bumptech.glide:glide:4.12.0'
|
|
annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
|
|
|
|
// Crop Image
|
|
// implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0'
|
|
|
|
|
|
// barChart
|
|
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
|
|
|
|
// date range Picker
|
|
// implementation 'com.google.android.material:material:1.9.0'
|
|
|
|
// Wifi_Printer
|
|
implementation 'com.jakewharton:butterknife:10.2.3'
|
|
implementation 'androidx.lifecycle:lifecycle-common-java8:2.7.0'
|
|
implementation project(path: ':escposprinter')
|
|
implementation 'androidx.work:work-runtime:2.9.0'
|
|
// implementation 'androidmads.library.qrgenearator:QRGenearator:1.0.3'
|
|
implementation files('libs/printer_library.jar')
|
|
implementation 'com.github.EmHaseeb:ThermalPrinterESCPOS:1.0.1'
|
|
implementation 'org.osmdroid:osmdroid-android:6.1.16'
|
|
implementation 'de.hdodenhof:circleimageview:3.1.0'
|
|
|
|
// Month_Year picker
|
|
|
|
implementation 'com.github.dewinjm:monthyear-picker:1.0.2'
|
|
|
|
// Bulk Upload
|
|
|
|
implementation 'org.apache.poi:poi:5.1.0'
|
|
// implementation 'org.apache.poi:poi:5.2.7'
|
|
implementation 'org.apache.poi:poi-ooxml:5.1.0'
|
|
implementation 'org.apache.xmlbeans:xmlbeans:5.1.0'
|
|
implementation "com.mikepenz:fastadapter:5.6.0"
|
|
implementation "com.mikepenz:fastadapter-extensions-binding:5.6.0"
|
|
implementation "androidx.biometric:biometric:1.1.0"
|
|
|
|
implementation "androidx.biometric:biometric-ktx:1.4.0-alpha02"
|
|
|
|
/*Camera*/
|
|
|
|
implementation 'androidx.camera:camera-core:1.3.0'
|
|
implementation 'androidx.camera:camera-camera2:1.3.0'
|
|
implementation 'androidx.camera:camera-lifecycle:1.3.0'
|
|
implementation 'androidx.camera:camera-view:1.3.0'
|
|
implementation 'com.google.mlkit:barcode-scanning:17.2.0'
|
|
|
|
/*Gif*/
|
|
|
|
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.10'
|
|
|
|
/*Room DB*/
|
|
|
|
// implementation "androidx.room:room-runtime:2.5.2"
|
|
// kapt "androidx.room:room-compiler:2.5.2"
|
|
// implementation "androidx.room:room-ktx:2.5.2"
|
|
//
|
|
// implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
|
|
// annotationProcessor "androidx.lifecycle:lifecycle-compiler:2.2.0"
|
|
|
|
implementation 'com.pierfrancescosoffritti.androidyoutubeplayer:core:12.1.0'
|
|
// implementation 'com.google.firebase:firebase-messaging:23.3.1'
|
|
implementation 'com.google.auth:google-auth-library-oauth2-http:1.19.0'
|
|
|
|
implementation 'com.android.volley:volley:1.2.1'
|
|
// implementation("com.google.firebase:firebase-auth:22.3.1")
|
|
// implementation 'com.google.firebase:firebase-analytics:21.5.0'
|
|
// implementation 'com.google.firebase:firebase-messaging-ktx:24.1.1'
|
|
|
|
implementation 'org.bouncycastle:bcprov-jdk15on:1.70'
|
|
|
|
// implementation 'com.microsoft.signalr:signalr:6.0.1'
|
|
// implementation 'com.microsoft.signalr:signalr:5.0.4'
|
|
// implementation 'com.microsoft.signalr:signalr:5.0.1'
|
|
|
|
implementation 'com.google.mlkit:language-id:17.0.4'
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.2'
|
|
|
|
implementation 'androidx.multidex:multidex:2.0.1'
|
|
|
|
// // RxJava 3
|
|
// implementation "io.reactivex.rxjava3:rxjava:3.1.8"
|
|
//
|
|
//// RxAndroid 3
|
|
// implementation "io.reactivex.rxjava3:rxandroid:3.0.2"
|
|
|
|
// implementation 'io.reactivex.rxjava3:rxjava:3.1.8'
|
|
// implementation 'io.reactivex.rxjava3:rxandroid:3.0.2'
|
|
// implementation 'com.microsoft.signalr:signalr:7.0.0'
|
|
|
|
// implementation 'com.github.DynGyr:SignalR-Client-Java:v1.0.0'
|
|
// implementation 'com.github.SignalR:java-client:master-SNAPSHOT'
|
|
|
|
// implementation 'com.github.DyKnow:SignalR-Client-SDK-Java:1.0.0'
|
|
// implementation 'org.slf4j:slf4j-nop:1.7.25'
|
|
implementation 'com.itextpdf:itextg:5.5.10'
|
|
}
|
|
|
|
|
|
|