build.gradle 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. apply plugin: 'com.android.application'
  2. android {
  3. // splits {
  4. // abi {
  5. // enable true
  6. // reset()
  7. // include 'armeabi-v7a',"arm64-v8a"
  8. // universalApk true
  9. // }
  10. // }
  11. compileSdkVersion 33
  12. defaultConfig {
  13. applicationId "com.usai.redant.raimage"
  14. minSdkVersion 28
  15. targetSdkVersion 33
  16. versionCode 9
  17. versionName "1.22.53225"
  18. // ndk.abiFilters 'armeabi-v7a',"arm64-v8a"
  19. }
  20. buildTypes {
  21. release {
  22. minifyEnabled true
  23. zipAlignEnabled true
  24. shrinkResources true
  25. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
  26. }
  27. debug {
  28. // minifyEnabled true
  29. // proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
  30. }
  31. }
  32. gradle.projectsEvaluated {
  33. tasks.withType(JavaCompile) {
  34. // options.compilerArgs << "-Xlint:deprecation"
  35. // options.compilerArgs << "-Xlint:unchecked"
  36. }
  37. }
  38. useLibrary 'org.apache.http.legacy'
  39. namespace 'com.usai.redant.raimage'
  40. compileOptions {
  41. sourceCompatibility JavaVersion.VERSION_11
  42. targetCompatibility JavaVersion.VERSION_11
  43. }
  44. }
  45. dependencies {
  46. // compile 'com.android.support:support-v4:18.0.0'
  47. // compile 'org.bouncycastle.bcprov-jdk15on.1.57.org.bouncycastle:bcprov-jdk15on:1.57'
  48. implementation 'androidx.appcompat:appcompat:1.5.1'
  49. api 'androidx.legacy:legacy-support-v4:1.0.0'
  50. api 'androidx.constraintlayout:constraintlayout:2.1.4'
  51. api 'androidx.recyclerview:recyclerview:1.2.1'
  52. api project(path: ':RAUtilsLibrary')
  53. implementation 'com.google.android.material:material:1.7.0'
  54. // implementation files('libs/core-2.3.0.jar')
  55. // implementation files('libs/bcprov-jdk15on-157.jar')
  56. // implementation files('libs/httpmime-4.1.1.jar')
  57. }
  58. //android {
  59. // useLibrary 'org.apache.http.legacy'
  60. // namespace 'com.usai.redant.raimage'
  61. // compileOptions {
  62. // sourceCompatibility JavaVersion.VERSION_11
  63. // targetCompatibility JavaVersion.VERSION_11
  64. // }
  65. //}