build.gradle 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. compileSdk 31
  6. defaultConfig {
  7. applicationId "com.yyxx.qyj2.huawei"
  8. minSdk 21
  9. targetSdk 26
  10. versionCode 1
  11. versionName "1.0"
  12. }
  13. buildTypes {
  14. debug {
  15. minifyEnabled false
  16. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  17. }
  18. release {
  19. minifyEnabled false
  20. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  21. }
  22. }
  23. // 签名
  24. signingConfigs {
  25. debug {
  26. storeFile file('/Users/kaiweicai/Documents/Android/keystore/yyrh.jks')
  27. // storeFile file('/Users/change/Desktop/SVNProject/Android/android_project/keystore/yyrh.jks')
  28. storePassword 'yyrh123456'
  29. keyAlias 'yyrh'
  30. keyPassword 'yyrh123456'
  31. }
  32. release {
  33. storeFile file('/Users/kaiweicai/Documents/Android/keystore/yyrh.jks')
  34. // storeFile file('/Users/change/Desktop/SVNProject/Android/android_project/keystore/yyrh.jks')
  35. storePassword 'yyrh123456'
  36. keyAlias 'yyrh'
  37. keyPassword 'yyrh123456'
  38. }
  39. }
  40. lintOptions {
  41. abortOnError false
  42. }
  43. compileOptions {
  44. sourceCompatibility JavaVersion.VERSION_1_8
  45. targetCompatibility JavaVersion.VERSION_1_8
  46. }
  47. }
  48. dependencies {
  49. implementation project(':YYXXCommSdk')
  50. implementation project(':channel:huawei')
  51. }