No Description

build.gradle 4.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. plugins {
  2. id 'com.android.application'
  3. id 'com.google.gms.google-services'
  4. // id 'io.fabric'
  5. id 'com.google.firebase.crashlytics'
  6. // id 'kotlin-android'
  7. // id 'kotlin-kapt'
  8. }
  9. android {
  10. namespace 'uprrp.tania'
  11. compileSdkVersion 34
  12. defaultConfig {
  13. applicationId "uprrp.tania"
  14. minSdkVersion 30
  15. targetSdkVersion 34
  16. versionCode 16
  17. versionName "4.4.1"
  18. testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
  19. vectorDrawables.useSupportLibrary = true
  20. }
  21. // configurations.all {
  22. // resolutionStrategy.eachDependency { details ->
  23. // if (details.requested.group == 'androidx.appcompat' &&
  24. // !details.requested.name.contains('multidex') ) {
  25. // details.useVersion "1.7.0"
  26. // }
  27. // }
  28. // }
  29. //
  30. buildTypes {
  31. release {
  32. minifyEnabled false
  33. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  34. }
  35. }
  36. compileOptions {
  37. sourceCompatibility JavaVersion.VERSION_1_8
  38. targetCompatibility JavaVersion.VERSION_1_8
  39. }
  40. bundle {
  41. density {
  42. enableSplit true
  43. }
  44. abi {
  45. enableSplit true
  46. }
  47. language {
  48. enableSplit false
  49. }
  50. }
  51. packagingOptions {
  52. exclude 'META-INF/DEPENDENCIES'
  53. exclude 'META-INF/LICENSE'
  54. exclude 'META-INF/LICENSE.txt'
  55. exclude 'META-INF/license.txt'
  56. exclude 'META-INF/NOTICE'
  57. exclude 'META-INF/NOTICE.txt'
  58. exclude 'META-INF/notice.txt'
  59. exclude 'META-INF/ASL2.0'
  60. }
  61. }
  62. dependencies {
  63. implementation fileTree(dir: 'libs', include: ['*.jar'])
  64. implementation 'androidx.appcompat:appcompat:1.6.1'
  65. implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
  66. implementation 'androidx.appcompat:appcompat-resources:1.6.1'
  67. // implementation 'androidx.appcompat:appcompat:1.7.0'
  68. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  69. implementation 'com.google.android.material:material:1.12.0'
  70. implementation 'androidx.navigation:navigation-fragment:2.7.7'
  71. implementation 'androidx.navigation:navigation-ui:2.7.7'
  72. implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
  73. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  74. testImplementation 'junit:junit:4.13.2'
  75. androidTestImplementation 'androidx.test.ext:junit:1.2.1'
  76. androidTestImplementation 'androidx.test:rules:1.6.1'
  77. implementation platform('com.google.firebase:firebase-bom:33.1.2')
  78. // implementation 'com.google.firebase:firebase-core:'
  79. implementation 'com.google.firebase:firebase-analytics'
  80. implementation 'com.google.firebase:firebase-messaging'
  81. implementation 'com.google.android.gms:play-services-gcm:17.0.0'
  82. // implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1'
  83. implementation 'org.apache.httpcomponents:httpcore:4.4.16'
  84. implementation 'org.apache.httpcomponents:httpclient:4.5.14'
  85. implementation 'com.amazonaws:aws-android-sdk-sns:2.76.1'
  86. implementation 'com.amazonaws:aws-android-sdk-core:2.76.1'
  87. implementation 'com.amazonaws:aws-android-sdk-cognitoidentityprovider:2.76.1'
  88. // implementation 'com.google.android.play:core:1.10.3'
  89. implementation 'com.itextpdf:itextg:5.5.10'
  90. // ResearchStack dependencies
  91. // implementation 'org.researchstack:skin:1.1.2'
  92. // implementation 'org.researchstack:backbone:1.1.2'
  93. // implementation 'com.github.ResearchStack.ResearchStack:backbone:1.1.1'
  94. // implementation 'com.github.ResearchStack.ResearchStack:skin:1.1.1'
  95. // implementation 'com.github.ResearchStack:ResearchStack:skin'
  96. // implementation 'com.github.kpgalligan.Squeaky:squeaky:0.3.1.0'
  97. // implementation 'com.github.touchlab:squeaky:0.4.0.0'
  98. // implementation 'com.google.firebase:firebase-crashlytics-gradle:2.9.5'
  99. implementation 'com.google.gms:google-services:4.4.2'
  100. // implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  101. // implementation fileTree(dir: 'libs', include: ['*.jar'])
  102. implementation('com.github.ResearchStack.ResearchStack:backbone:1.1.1') {
  103. exclude group: 'co.touchlab.squeaky', module: 'squeaky-query'
  104. exclude group: 'net.zetetic', module: 'android-database-sqlcipher'
  105. }
  106. implementation 'net.zetetic:android-database-sqlcipher:4.5.3' // or the latest version that works
  107. implementation 'androidx.sqlite:sqlite:2.1.0'
  108. implementation 'com.github.touchlab:squeaky:0.4.0.2'
  109. // implementation 'com.github.touchlab:squeaky:0.4.0.2'
  110. // Updated PDF viewer library
  111. implementation 'com.github.mhiew:AndroidPdfViewer:3.1.0-beta.1'
  112. // implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1'
  113. }