123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- plugins {
- id 'com.android.application'
- id 'com.google.gms.google-services'
- // id 'io.fabric'
- id 'com.google.firebase.crashlytics'
- // id 'kotlin-android'
- // id 'kotlin-kapt'
- }
-
- android {
- namespace 'uprrp.tania'
- compileSdkVersion 34
-
- defaultConfig {
- applicationId "uprrp.tania"
- minSdkVersion 30
- targetSdkVersion 34
- versionCode 16
- versionName "4.4.1"
- testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
- vectorDrawables.useSupportLibrary = true
- }
- // configurations.all {
- // resolutionStrategy.eachDependency { details ->
- // if (details.requested.group == 'androidx.appcompat' &&
- // !details.requested.name.contains('multidex') ) {
- // details.useVersion "1.7.0"
- // }
- // }
- // }
- //
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
-
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
-
- bundle {
- density {
- enableSplit true
- }
- abi {
- enableSplit true
- }
- language {
- enableSplit false
- }
- }
-
- packagingOptions {
- exclude 'META-INF/DEPENDENCIES'
- exclude 'META-INF/LICENSE'
- exclude 'META-INF/LICENSE.txt'
- exclude 'META-INF/license.txt'
- exclude 'META-INF/NOTICE'
- exclude 'META-INF/NOTICE.txt'
- exclude 'META-INF/notice.txt'
- exclude 'META-INF/ASL2.0'
- }
- }
-
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
-
- implementation 'androidx.appcompat:appcompat:1.6.1'
- implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
- implementation 'androidx.appcompat:appcompat-resources:1.6.1'
-
- // implementation 'androidx.appcompat:appcompat:1.7.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
- implementation 'com.google.android.material:material:1.12.0'
- implementation 'androidx.navigation:navigation-fragment:2.7.7'
- implementation 'androidx.navigation:navigation-ui:2.7.7'
- implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
- implementation 'androidx.legacy:legacy-support-v4:1.0.0'
-
- testImplementation 'junit:junit:4.13.2'
- androidTestImplementation 'androidx.test.ext:junit:1.2.1'
- androidTestImplementation 'androidx.test:rules:1.6.1'
-
- implementation platform('com.google.firebase:firebase-bom:33.1.2')
- // implementation 'com.google.firebase:firebase-core:'
- implementation 'com.google.firebase:firebase-analytics'
- implementation 'com.google.firebase:firebase-messaging'
- implementation 'com.google.android.gms:play-services-gcm:17.0.0'
-
- // implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1'
-
- implementation 'org.apache.httpcomponents:httpcore:4.4.16'
- implementation 'org.apache.httpcomponents:httpclient:4.5.14'
-
- implementation 'com.amazonaws:aws-android-sdk-sns:2.76.1'
- implementation 'com.amazonaws:aws-android-sdk-core:2.76.1'
- implementation 'com.amazonaws:aws-android-sdk-cognitoidentityprovider:2.76.1'
-
- // implementation 'com.google.android.play:core:1.10.3'
-
- implementation 'com.itextpdf:itextg:5.5.10'
- // ResearchStack dependencies
- // implementation 'org.researchstack:skin:1.1.2'
- // implementation 'org.researchstack:backbone:1.1.2'
- // implementation 'com.github.ResearchStack.ResearchStack:backbone:1.1.1'
- // implementation 'com.github.ResearchStack.ResearchStack:skin:1.1.1'
- // implementation 'com.github.ResearchStack:ResearchStack:skin'
- // implementation 'com.github.kpgalligan.Squeaky:squeaky:0.3.1.0'
- // implementation 'com.github.touchlab:squeaky:0.4.0.0'
- // implementation 'com.google.firebase:firebase-crashlytics-gradle:2.9.5'
- implementation 'com.google.gms:google-services:4.4.2'
- // implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
- // implementation fileTree(dir: 'libs', include: ['*.jar'])
- implementation('com.github.ResearchStack.ResearchStack:backbone:1.1.1') {
- exclude group: 'co.touchlab.squeaky', module: 'squeaky-query'
- exclude group: 'net.zetetic', module: 'android-database-sqlcipher'
- }
- implementation 'net.zetetic:android-database-sqlcipher:4.5.3' // or the latest version that works
- implementation 'androidx.sqlite:sqlite:2.1.0'
- implementation 'com.github.touchlab:squeaky:0.4.0.2'
- // implementation 'com.github.touchlab:squeaky:0.4.0.2'
-
- // Updated PDF viewer library
- implementation 'com.github.mhiew:AndroidPdfViewer:3.1.0-beta.1'
- // implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1'
-
- }
|