Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

build.gradle 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. apply plugin: 'com.android.library'
  2. apply from: '../config.gradle'
  3. android {
  4. defaultConfig {
  5. // 混淆配置
  6. consumerProguardFiles 'proguard-umeng.pro'
  7. // 清单占位符
  8. manifestPlaceholders = [
  9. // 友盟 AppKey
  10. 'UMENG_APPKEY' : '5cb16d93570df399fd0014e2',
  11. // QQ AppId
  12. 'QQ_APPID' : '101828096',
  13. // QQ AppKey
  14. 'QQ_APPKEY' : '9dfd3300c3aa3c4596a07796c64914b2',
  15. // 微信 AppId
  16. 'WX_APPID' : 'wxd35706cc9f46114c',
  17. // 微信 AppKey
  18. 'WX_APPKEY' : '0c8c7cf831dd135a32b3e395ea459b5a'
  19. ]
  20. }
  21. }
  22. // 友盟仓库:https://bintray.com/umsdk/release
  23. dependencies {
  24. // 友盟基础组件:https://bintray.com/umsdk/release/common
  25. implementation 'com.umeng.umsdk:common:2.2.5'
  26. // 友盟统计:https://bintray.com/umsdk/release/analytics
  27. implementation 'com.umeng.umsdk:analytics:8.1.6'
  28. // 友盟社会化:https://bintray.com/umsdk/release/share-core
  29. //implementation 'com.umeng.umsdk:share-core:6.9.8'
  30. // QQ SDK:https://bintray.com/umsdk/release/share-qq
  31. //implementation 'com.umeng.umsdk:share-qq:6.9.8'
  32. // 微信 SDK:https://bintray.com/umsdk/release/share-wx
  33. //implementation 'com.umeng.umsdk:share-wx:6.9.8'
  34. }