build.gradle 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdk 35
  4. // compileSdkVersion 35
  5. // buildToolsVersion '35.0.0'
  6. namespace 'uni.deepoil.com'
  7. defaultConfig {
  8. applicationId "uni.deepoil.com"
  9. minSdkVersion 21
  10. // targetSdkVersion 33
  11. targetSdk 33
  12. versionCode 10209
  13. versionName "1.2.9"
  14. multiDexEnabled true
  15. compileOptions {
  16. sourceCompatibility JavaVersion.VERSION_1_8
  17. targetCompatibility JavaVersion.VERSION_1_8
  18. }
  19. }
  20. signingConfigs {
  21. config {
  22. keyAlias '__uni__6e4bc49'
  23. keyPassword '5yOMqFfh'
  24. storeFile file('depol.keystore')
  25. storePassword '5yOMqFfh'
  26. v1SigningEnabled true
  27. v2SigningEnabled true
  28. }
  29. }
  30. buildTypes {
  31. debug {
  32. signingConfig signingConfigs.config
  33. minifyEnabled false
  34. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  35. }
  36. release {
  37. signingConfig signingConfigs.config
  38. minifyEnabled false
  39. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  40. ndk {
  41. abiFilters 'armeabi-v7a', 'arm64-v8a'
  42. }
  43. }
  44. }
  45. aaptOptions {
  46. additionalParameters '--auto-add-overlay'
  47. ignoreAssetsPattern "!.svn:!.git:.*:!CVS:!thumbs.db:!picasa.ini:!*.scc:*~"
  48. }
  49. buildFeatures {
  50. buildConfig true
  51. }
  52. productFlavors {
  53. flavorDimensions 'env'
  54. dev {
  55. dimension 'env'
  56. }
  57. prod {
  58. dimension 'env'
  59. }
  60. }
  61. }
  62. dependencies {
  63. implementation fileTree(dir: 'libs', include: ['*.aar', '*.jar'], exclude: [])
  64. implementation 'androidx.appcompat:appcompat:1.1.0'
  65. implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
  66. implementation 'androidx.core:core:1.1.0'
  67. implementation "androidx.fragment:fragment:1.1.0"
  68. implementation 'androidx.recyclerview:recyclerview:1.1.0'
  69. implementation 'com.facebook.fresco:fresco:2.5.0'
  70. implementation "com.facebook.fresco:animated-gif:2.5.0"
  71. implementation 'com.github.bumptech.glide:glide:4.9.0'
  72. implementation 'com.alibaba:fastjson:1.2.83'
  73. implementation 'androidx.webkit:webkit:1.5.0'
  74. implementation 'com.alibaba.android:ddopenauth:1.5.0.10'
  75. implementation 'com.github.getActivity:XXPermissions:21.3'
  76. implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.1.21'
  77. }