build.gradle 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 33
  4. defaultConfig {
  5. applicationId "me.yoqi.app.wxredpacket"
  6. minSdkVersion 16
  7. targetSdkVersion 33
  8. versionCode 10002
  9. versionName "1.0.1"
  10. ndk {
  11. // 设置支持的SO库架构
  12. abiFilters 'armeabi', 'x86', 'armeabi-v7a', 'x86_64', 'arm64-v8a'
  13. }
  14. }
  15. useLibrary 'org.apache.http.legacy'
  16. signingConfigs {
  17. releaseConfig {
  18. storeFile file("../monkeytong.jks")
  19. storePassword project.hasProperty("KEYSTORE_PASS") ? KEYSTORE_PASS : System.getenv("KEYSTORE_PASS")
  20. keyAlias project.hasProperty("ALIAS_NAME") ? ALIAS_NAME : System.getenv("ALIAS_NAME")
  21. keyPassword project.hasProperty("ALIAS_PASS") ? ALIAS_PASS : System.getenv("ALIAS_PASS")
  22. }
  23. }
  24. buildTypes {
  25. release {
  26. minifyEnabled false
  27. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  28. }
  29. }
  30. }
  31. dependencies {
  32. implementation fileTree(dir: 'libs', include: ['*.jar'])
  33. implementation 'com.tencent.bugly:crashreport_upgrade:latest.release'
  34. implementation 'com.tencent.bugly:nativecrashreport:latest.release'
  35. implementation 'com.android.support:appcompat-v7:28.0.0'
  36. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  37. }