Skip to content

Instantly share code, notes, and snippets.

@Arkar009
Last active August 26, 2019 06:52
Show Gist options
  • Save Arkar009/4ae5a05ff3435636bc605fee1fbdb050 to your computer and use it in GitHub Desktop.
Save Arkar009/4ae5a05ff3435636bc605fee1fbdb050 to your computer and use it in GitHub Desktop.
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "-----"
minSdkVersion 19
targetSdkVersion 28
versionCode 148
versionName "---"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
// Enabling multidex support.
multiDexEnabled true
}
buildTypes {
release {
debuggable false
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
debuggable true
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
}
repositories {
maven { url "https://jitpack.io" }
maven { url "https://maven.google.com" }
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.github.d-max:spots-dialog:0.7@aar'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
implementation 'com.squareup.retrofit2:converter-scalars:2.3.0'
implementation 'com.google.android.material:material:1.0.0'
implementation 'de.hdodenhof:circleimageview:2.2.0'
implementation 'com.afollestad.material-dialogs:commons:0.9.6.0'
implementation 'com.google.android.gms:play-services-vision:18.0.0'
// for bind view
implementation 'com.jakewharton:butterknife:10.1.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:10.1.0'
//for OCR and Map
implementation 'com.google.android.gms:play-services-maps:17.0.0'
implementation 'com.google.android.gms:play-services-location:17.0.0'
implementation 'com.google.android.gms:play-services-vision:18.0.0'
//CropImageView
implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.0'
// vision barcode scanner
implementation 'info.androidhive:barcode-reader:1.1.5'
// signature view
implementation 'com.kyanogen.signatureview:signature-view:1.2'
// for runtime permission
implementation 'com.karumi:dexter:4.2.0'
// for EventBus
implementation 'org.greenrobot:eventbus:3.1.1'
//for material date picker
implementation 'com.wdullaer:materialdatetimepicker:3.6.3'
//for PDF View
implementation 'com.github.barteksc:android-pdf-viewer:2.8.2'
//Glide
implementation 'com.github.bumptech.glide:glide:4.9.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
//for image compressing
implementation 'id.zelory:compressor:2.1.0'
//for DateTime Picker
implementation 'com.vivekkaushik.datepicker:datePickerTimeline:0.0.3'
//pls refer for below line https://stackoverflow.com/questions/57601897/android-studio-3-5-warning-the-rule-keep-public-class-extends-androidx-vers/57641212#57641212
implementation "androidx.versionedparcelable:versionedparcelable:1.1.0"
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'me.drakeet.support:toastcompat:1.1.0'
//for BT printing
implementation files('libs/ZSDK_ANDROID_API.jar')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment