build.gradle 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. apply plugin: 'com.android.application'
  2. android {
  3. if (project.android.hasProperty("namespace")) {
  4. namespace("com.dx.anonymousmessenger")
  5. }
  6. buildFeatures {
  7. buildConfig = true
  8. }
  9. compileSdkVersion 34
  10. compileOptions {
  11. sourceCompatibility JavaVersion.VERSION_1_8
  12. targetCompatibility JavaVersion.VERSION_1_8
  13. }
  14. defaultConfig {
  15. applicationId "com.dx.anonymousmessenger"
  16. minSdkVersion 21
  17. targetSdkVersion 34
  18. versionCode 57
  19. versionName "0.9.5"
  20. setProperty("archivesBaseName", applicationId + "-v" + versionCode + "(" + versionName + ")")
  21. ndk{
  22. abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
  23. }
  24. resValue "string", "file_provider", applicationId+".fileprovider"
  25. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  26. signingConfig signingConfigs.debug
  27. }
  28. buildTypes {
  29. release {
  30. minifyEnabled false
  31. debuggable false
  32. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  33. }
  34. debug {
  35. minifyEnabled false
  36. debuggable false
  37. }
  38. }
  39. packagingOptions {
  40. resources {
  41. excludes += ['META-INF/DEPENDENCIES', 'META-INF/LICENSE', 'META-INF/LICENSE.txt', 'META-INF/license.txt', 'META-INF/NOTICE', 'META-INF/NOTICE.txt', 'META-INF/notice.txt', 'META-INF/ASL2.0', 'org/eclipse/jetty/http/encoding.properties']
  42. }
  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.6.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.3.2'
  57. // implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
  58. implementation 'com.google.android.material:material:1.10.0'
  59. implementation 'com.google.zxing:core:3.5.2'
  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.4.0"
  64. implementation 'com.alexvasilkov:gesture-views:2.8.3'
  65. implementation 'com.github.omadahealth:swipy:1.2.3@aar'
  66. implementation 'androidx.exifinterface:exifinterface:1.3.6'
  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.5'
  71. androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
  72. }