build.gradle 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. group 'com.flutter.flutter_aliyun_push'
  2. version '1.0'
  3. buildscript {
  4. repositories {
  5. // google()
  6. // jcenter()
  7. maven {
  8. url 'http://download.flutter.io'
  9. }
  10. maven {
  11. url 'http://maven.aliyun.com/nexus/content/repositories/releases/'
  12. }
  13. maven { url 'https://maven.aliyun.com/repository/google' }
  14. maven { url 'https://maven.aliyun.com/repository/jcenter' }
  15. maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
  16. }
  17. dependencies {
  18. classpath 'com.android.tools.build:gradle:3.5.0'
  19. }
  20. }
  21. rootProject.allprojects {
  22. repositories {
  23. // google()
  24. // jcenter()
  25. maven {
  26. url 'http://download.flutter.io'
  27. }
  28. maven {
  29. url 'http://maven.aliyun.com/nexus/content/repositories/releases/'
  30. }
  31. maven { url 'https://maven.aliyun.com/repository/google' }
  32. maven { url 'https://maven.aliyun.com/repository/jcenter' }
  33. maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
  34. }
  35. }
  36. apply plugin: 'com.android.library'
  37. android {
  38. compileSdkVersion 28
  39. defaultConfig {
  40. minSdkVersion 16
  41. ndk {
  42. // abiFilters 'armeabi'
  43. abiFilters "armeabi", "armeabi-v7a" , "arm64-v8a", "x86", "x86_64", "mips", "mips64"
  44. }
  45. }
  46. lintOptions {
  47. disable 'InvalidPackage'
  48. }
  49. }
  50. dependencies {
  51. implementation 'com.aliyun.ams:alicloud-android-push:3.1.10@aar'
  52. implementation'com.aliyun.ams:alicloud-android-third-push:3.1.0@aar'
  53. implementation 'com.aliyun.ams:alicloud-android-utdid:1.5.2'
  54. implementation 'com.aliyun.ams:alicloud-android-utils:1.1.6.4'
  55. implementation 'com.aliyun.ams:alicloud-android-ut:5.4.3'
  56. implementation 'com.aliyun.ams:alicloud-android-beacon:1.0.4.3'
  57. implementation 'com.aliyun.ams:huawei-push:2.6.3.305'
  58. implementation 'com.aliyun.ams:huawei-push-base:2.6.3.305'
  59. implementation 'com.aliyun.ams:meizu-push:3.8.7.1'
  60. implementation 'com.aliyun.ams:third_vivopush:2.9.0.1'
  61. implementation 'org.greenrobot:eventbus:3.2.0'
  62. implementation 'com.google.code.gson:gson:2.8.6'
  63. }