build.gradle 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. // +----------------------------------------------------------------------
  2. // | Created by Yunbao
  3. // +----------------------------------------------------------------------
  4. // | Copyright (c) 2013~2022 http://www.yunbaokj.com All rights reserved.
  5. // +----------------------------------------------------------------------
  6. // | Author: https://gitee.com/yunbaokji/
  7. // +----------------------------------------------------------------------
  8. // | Date: 2022-02-17
  9. // +----------------------------------------------------------------------
  10. apply plugin: 'com.android.library'
  11. android {
  12. compileSdkVersion rootProject.ext.android.compileSdkVersion
  13. buildToolsVersion rootProject.ext.android.buildToolsVersion
  14. defaultConfig {
  15. minSdkVersion rootProject.ext.android.minSdkVersion
  16. targetSdkVersion rootProject.ext.android.targetSdkVersion
  17. versionCode rootProject.ext.android.versionCode
  18. versionName rootProject.ext.android.versionName
  19. manifestPlaceholders = rootProject.ext.manifestPlaceholders
  20. ndk {
  21. abiFilters "armeabi-v7a","arm64-v8a"
  22. }
  23. }
  24. aaptOptions {
  25. cruncherEnabled = false
  26. useNewCruncher = false
  27. }
  28. buildTypes {
  29. release {
  30. minifyEnabled false
  31. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  32. }
  33. }
  34. }
  35. repositories {
  36. flatDir {
  37. dirs 'libs','../libs'
  38. }
  39. }
  40. dependencies {
  41. compile fileTree(include: ['*.jar'], dir: 'libs')
  42. compile rootProject.ext.dependencies["appcompat-v7"]
  43. compile files('libs/MobCommons-2020.0928.1220.jar')
  44. compile files('libs/MobTools-2020.0917.1108.jar')
  45. compile files('libs/ShareSDK-Core-3.8.2.jar')
  46. compile files('libs/ShareSDK-Facebook-3.8.2.jar')
  47. compile files('libs/ShareSDK-FacebookMessenger-3.8.2.jar')
  48. compile files('libs/ShareSDK-Line-3.8.2.jar')
  49. compile files('libs/ShareSDK-QQ-3.8.2.jar')
  50. compile files('libs/ShareSDK-QZone-3.8.2.jar')
  51. compile files('libs/ShareSDK-Twitter-3.8.2.jar')
  52. compile files('libs/ShareSDK-Wechat-3.8.2.jar')
  53. compile files('libs/ShareSDK-Wechat-Core-3.8.2.jar')
  54. compile files('libs/ShareSDK-Wechat-Favorite-3.8.2.jar')
  55. compile files('libs/ShareSDK-Wechat-Moments-3.8.2.jar')
  56. }