Files
reader-app-final/app/build.gradle
2022-02-25 16:33:45 +05:30

128 lines
4.4 KiB
Groovy

apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'
android {
compileSdkVersion 29
buildToolsVersion "29.0.3"
defaultConfig {
applicationId "no.Reader.android.iisc"
minSdkVersion 18
targetSdkVersion 29
versionCode 78
versionName "2.9.0"
resConfigs "en"
multiDexEnabled true
vectorDrawables.useSupportLibrary = true
}
buildTypes {
debug {
minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
// nRF Toolbox is using Play Service 10.2.0 in order to make the app working in China:
// https://developer.android.com/training/wearables/apps/creating-app-china.html
//noinspection GradleDependency
implementation 'com.google.android.gms:play-services-wearable:10.2.0'
implementation 'androidx.appcompat:appcompat:1.3.0-alpha01'
implementation 'androidx.preference:preference:1.1.1'
implementation 'de.hdodenhof:circleimageview:3.1.0'
implementation 'no.nordicsemi.android:log:2.2.0'
implementation 'no.nordicsemi.android.support.v18:scanner:1.4.3'
implementation 'org.apache.poi:poi:4.0.0'
implementation 'org.apache.poi:poi-ooxml:4.0.0'
implementation 'com.android.support:multidex:1.0.1'
// The DFU Library is imported automatically from jcenter:
implementation 'no.nordicsemi.android:dfu:1.10.3'
implementation 'com.github.PhilJay:MPAndroidChart:v2.2.4'
implementation 'androidx.appcompat:appcompat:1.1.0-alpha04'
implementation 'com.hbb20:ccp:2.4.0'
implementation 'androidx.preference:preference:1.1.0-alpha04'
implementation 'com.google.android.material:material:1.1.0-alpha05'
implementation 'com.google.android.material:material:1.1.0'
implementation 'com.google.firebase:firebase-database:16.0.4'
implementation 'androidx.appcompat:appcompat:1.1.0-alpha04'
implementation 'com.google.firebase:firebase-auth:16.0.5'
implementation 'androidx.preference:preference:1.1.0-alpha04'
implementation 'no.nordicsemi.android:log:2.2.0'
implementation 'com.chaos.view:pinview:1.4.3'
implementation "androidx.browser:browser:1.3.0"
implementation 'com.github.bumptech.glide:glide:4.11.0'
implementation 'com.firebaseui:firebase-ui-database:7.1.1'
implementation 'com.github.PhilJay:MPAndroidChart:v2.2.4'
implementation 'com.google.firebase:firebase-crashlytics:17.1.1'
implementation 'com.hbb20:ccp:2.4.0'
implementation 'com.google.firebase:firebase-auth:20.0.1'
implementation 'com.google.android.material:material:1.0.0'
implementation 'com.google.firebase:firebase-storage:16.0.4'
// if you desire to build the DFU Library, clone the
// https://github.com/NordicSemiconductor/Android-DFU-Library project into DFULibrary folder,
// add it as a module into the project structure and uncomment the following line
// (and also the according lines in the settings.gradle):
// implementation project(':dfu')
// Gson is needed for DFU to work. The DFU library dependency to Gson is internal and would
// not be attached to APK.
// See: https://github.com/NordicSemiconductor/Android-nRF-Toolbox/issues/86
// Import the BLE Common Library.
// The BLE Common Library depends on BLE Library. It is enough to include the first one.
implementation 'no.nordicsemi.android:ble-common:2.1.1'
// The BLE Common Library may be included from jcenter. If you want to modify the code,
// clone both projects from GitHub and replace the line above with the following
// (and also the according lines in the settings.gradle):
// implementation project(':ble-common')
implementation('org.simpleframework:simple-xml:2.7.1') {
exclude group: 'stax', module: 'stax-api'
exclude group: 'xpp3', module: 'xpp3'
}
}