build.gradle 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. apply plugin: 'com.android.library'
  2. //Mugo
  3. MobSDK {
  4. appKey "37cdd17cf59dd"
  5. appSecret "25533743fe62efc8d5eecada8e5bf8fd"
  6. appBundleMode true
  7. gui false
  8. // mobEnv 'x'
  9. ShareSDK {
  10. devInfo {
  11. QQ {
  12. appId "101992406"
  13. appKey "496b815fdf15185b4f86685e607f51b3"
  14. shareByAppClient true
  15. }
  16. QZone {
  17. appId "101992406"
  18. appKey "496b815fdf15185b4f86685e607f51b3"
  19. shareByAppClient true
  20. }
  21. Wechat {
  22. appId "wx9477e94703095c92"
  23. appSecret "899feb1374da97f4b7d89f8d2880bef6"
  24. }
  25. WechatMoments {
  26. appId "wx9477e94703095c92"
  27. appSecret "899feb1374da97f4b7d89f8d2880bef6"
  28. }
  29. GooglePlus {
  30. id 21
  31. sortId 21
  32. appId "413722939948-f28m6le95op92v8vrls4se4inc8msr26.apps.googleusercontent.com"
  33. callbackUri "http://localhost"
  34. officialVersion "default"
  35. shareByAppClient true
  36. enable true
  37. }
  38. Facebook {
  39. id 8
  40. sortId 8
  41. appKey "6332331506806101"
  42. appSecret "2e45a8398f2dd2dc1bc6cedb1e363994"
  43. callbackUri "https://www.baidu.com"
  44. officialVersion "default"
  45. faceBookLoginProtocolScheme "fb6332331506806101"
  46. faceBookAppType "game"
  47. shareByAppClient true
  48. enable true
  49. }
  50. }
  51. }
  52. }
  53. android {
  54. compileSdkVersion 29
  55. buildToolsVersion "29.0.3"
  56. defaultConfig {
  57. minSdkVersion 19
  58. targetSdkVersion 29
  59. versionCode 1
  60. versionName "1.0"
  61. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  62. }
  63. buildTypes {
  64. release {
  65. minifyEnabled false
  66. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  67. }
  68. }
  69. }
  70. dependencies {
  71. implementation fileTree(dir: 'libs', include: ['*.jar'])
  72. implementation 'androidx.appcompat:appcompat:1.3.1'
  73. testImplementation 'junit:junit:4.12'
  74. androidTestImplementation 'androidx.test:runner:1.2.0'
  75. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  76. api project(':KlcBeans')
  77. }