build.gradle 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 32
  4. compileOptions {
  5. sourceCompatibility JavaVersion.VERSION_1_8
  6. targetCompatibility JavaVersion.VERSION_1_8
  7. }
  8. defaultConfig {
  9. applicationId "com.dx.anonymousmessenger"
  10. minSdkVersion 21
  11. targetSdkVersion 32
  12. versionCode 54
  13. versionName "0.9.2"
  14. setProperty("archivesBaseName", applicationId + "-v" + versionCode + "(" + versionName + ")")
  15. ndk{
  16. abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
  17. }
  18. resValue "string", "file_provider", applicationId+".fileprovider"
  19. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  20. signingConfig signingConfigs.debug
  21. }
  22. buildTypes {
  23. release {
  24. minifyEnabled false
  25. debuggable false
  26. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  27. }
  28. debug {
  29. minifyEnabled false
  30. debuggable false
  31. }
  32. }
  33. packagingOptions {
  34. exclude 'META-INF/DEPENDENCIES'
  35. exclude 'META-INF/LICENSE'
  36. exclude 'META-INF/LICENSE.txt'
  37. exclude 'META-INF/license.txt'
  38. exclude 'META-INF/NOTICE'
  39. exclude 'META-INF/NOTICE.txt'
  40. exclude 'META-INF/notice.txt'
  41. exclude 'META-INF/ASL2.0'
  42. exclude 'org/eclipse/jetty/http/encoding.properties'
  43. }
  44. }
  45. repositories {
  46. // maven { url "https://raw.githubusercontent.com/guardianproject/gpmaven/master" }
  47. google()
  48. jcenter()
  49. }
  50. dependencies {
  51. api fileTree(dir: 'libs', include: ['*.jar','*.so'])
  52. implementation fileTree(dir: "libs", include: ["*.jar"])
  53. implementation 'androidx.appcompat:appcompat:1.5.1'
  54. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  55. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  56. implementation 'androidx.recyclerview:recyclerview:1.2.1'
  57. // implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
  58. implementation 'com.google.android.material:material:1.7.0'
  59. implementation 'com.google.zxing:core:3.3.3'
  60. implementation 'me.dm7.barcodescanner:zxing:1.9.13'
  61. implementation 'com.google.protobuf:protobuf-java:3.9.2' //later versions min api 26+
  62. implementation 'net.zetetic:android-database-sqlcipher:4.4.3@aar'
  63. implementation "androidx.sqlite:sqlite:2.2.0"
  64. implementation 'com.alexvasilkov:gesture-views:2.8.2'
  65. implementation 'com.github.omadahealth:swipy:1.2.3@aar'
  66. implementation 'androidx.exifinterface:exifinterface:1.3.3'
  67. // implementation 'com.netcompss:ffmpeg4android_lib:41.09'
  68. // debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.4'
  69. testImplementation 'junit:junit:4.13.2'
  70. androidTestImplementation 'androidx.test.ext:junit:1.1.4'
  71. androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0'
  72. }