build.gradle 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdk 33
  4. // splits {
  5. // abi {
  6. // enable true
  7. // reset()
  8. // include 'armeabi-v7a'
  9. // universalApk true
  10. // }
  11. // }
  12. defaultConfig {
  13. applicationId "com.usai.ratradefiling"
  14. minSdkVersion 28
  15. targetSdkVersion 33
  16. versionCode 3
  17. versionName "1.11"
  18. // ndk.abiFilters 'armeabi-v7a',"arm64-v8a"
  19. // testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  20. }
  21. buildTypes {
  22. release {
  23. minifyEnabled true
  24. shrinkResources true
  25. zipAlignEnabled true
  26. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-project.txt'
  27. }
  28. debug {
  29. debuggable true
  30. // minifyEnabled true
  31. // zipAlignEnabled true
  32. // shrinkResources true
  33. //
  34. // proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-project.txt'
  35. }
  36. }
  37. namespace 'com.usai.ratradefiling'
  38. compileOptions {
  39. targetCompatibility JavaVersion.VERSION_11
  40. sourceCompatibility JavaVersion.VERSION_11
  41. }
  42. gradle.projectsEvaluated {
  43. tasks.withType(JavaCompile) {
  44. // options.compilerArgs << "-Xlint:deprecation"
  45. // options.compilerArgs << "-Xlint:unchecked"
  46. }
  47. }
  48. }
  49. dependencies {
  50. // implementation fileTree(dir: "libs", include: ["*.jar"])
  51. api 'androidx.appcompat:appcompat:1.5.1'
  52. api 'androidx.legacy:legacy-support-v4:1.0.0'
  53. api 'androidx.constraintlayout:constraintlayout:2.1.4'
  54. implementation 'com.google.android.material:material:1.7.0'
  55. // implementation 'com.googlecode.libphonenumber:libphonenumber:8.12.18'
  56. // implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
  57. // api 'com.android.support:support-v4:27.1.0'
  58. //
  59. implementation project(path: ':RAUtilsLibrary')
  60. implementation project(path: ':CommonEditorLib')
  61. implementation project(path: ':rapdflib')
  62. // implementation 'androidx.wear:wear:1.0.0'
  63. // compileOnly 'com.google.android.wearable:wearable:2.6.0'
  64. // testImplementation 'junit:junit:4.12'
  65. // androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  66. // androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  67. }