build.gradle 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'com.huawei.agconnect'
  3. android {
  4. signingConfigs {
  5. debug {
  6. storeFile file('../LimaoIm.jks')
  7. storePassword '@limaoim123'
  8. keyAlias = 'limaoim'
  9. keyPassword '@limaoim123'
  10. }
  11. release {
  12. storeFile file('/Users/songlun/Desktop/workspace/androidworkspace/LiMaoIm/LimaoIm.jks')
  13. storePassword '@limaoim123'
  14. keyAlias = 'limaoim'
  15. keyPassword '@limaoim123'
  16. }
  17. }
  18. compileSdkVersion rootProject.ext.compileSdkVersion
  19. aaptOptions.cruncherEnabled = false
  20. aaptOptions.useNewCruncher = false
  21. defaultConfig {
  22. applicationId "com.limao.im.limaoim"
  23. minSdkVersion rootProject.ext.minSdkVersion
  24. targetSdkVersion rootProject.ext.targetSdkVersion
  25. versionCode 1
  26. versionName "1.0"
  27. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  28. vectorDrawables.useSupportLibrary = true
  29. multiDexEnabled true
  30. }
  31. packagingOptions {
  32. exclude 'META-INF/library_release.kotlin_module'
  33. }
  34. buildTypes {
  35. release {
  36. minifyEnabled false
  37. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  38. }
  39. }
  40. compileOptions {
  41. sourceCompatibility JavaVersion.VERSION_1_8
  42. targetCompatibility JavaVersion.VERSION_1_8
  43. }
  44. }
  45. dependencies {
  46. implementation fileTree(dir: 'libs', include: ['*.jar'])
  47. implementation 'androidx.appcompat:appcompat:1.1.0'
  48. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  49. testImplementation 'junit:junit:4.13'
  50. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  51. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  52. implementation 'com.facebook.stetho:stetho-okhttp3:1.3.1'
  53. implementation 'com.facebook.stetho:stetho:1.3.1'
  54. implementation project(':base')
  55. implementation project(':limkit')
  56. implementation project(':limlogin')
  57. implementation project(':limpush')
  58. implementation project(':limvideo')
  59. implementation project(':limgroupmanage')
  60. implementation project(':limscan')
  61. implementation project(':limcollection')
  62. }