build.gradle 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. gradlePluginPortal()
  5. google()
  6. mavenCentral()
  7. maven { url "https://nexus-sdk.cm253.com/repository/maven-public/" }
  8. maven {
  9. allowInsecureProtocol = true
  10. url 'http://maven.aliyun.com/nexus/content/groups/public/'
  11. }
  12. maven {
  13. allowInsecureProtocol = true
  14. url MAVEN_PUBLIC_URL
  15. credentials {
  16. username MAVEN_USERNAME
  17. password MAVEN_PASSWORD
  18. }
  19. }
  20. maven { url 'https://artifact.bytedance.com/repository/pangle/' }
  21. maven { url 'https://developer.huawei.com/repo/'}
  22. maven { url "https://mvn.mob.com/android" }
  23. }
  24. dependencies {
  25. classpath 'com.android.tools.build:gradle:8.0.2'
  26. classpath 'com.huawei.agconnect:agcp:1.6.0.300'
  27. classpath "com.mob.sdk:MobSDK2:+"
  28. // NOTE: Do not place your application dependencies here; they belong
  29. // in the individual module build.gradle files
  30. }
  31. }
  32. allprojects {
  33. repositories {
  34. gradlePluginPortal()
  35. google()
  36. mavenCentral()
  37. maven { url "https://nexus-sdk.cm253.com/repository/maven-public/" }
  38. maven {
  39. allowInsecureProtocol = true
  40. url 'http://maven.aliyun.com/nexus/content/groups/public/'
  41. }
  42. maven {
  43. allowInsecureProtocol = true
  44. url MAVEN_PUBLIC_URL
  45. credentials {
  46. username MAVEN_USERNAME
  47. password MAVEN_PASSWORD
  48. }
  49. }
  50. maven { url 'https://artifact.bytedance.com/repository/pangle/' }
  51. maven { url 'https://repo1.maven.org/maven2/' }
  52. maven { url 'https://developer.huawei.com/repo/'}
  53. maven { url "https://mvn.mob.com/android" }
  54. flatDir {
  55. dirs 'libs'
  56. }
  57. }
  58. }
  59. task clean(type: Delete) {
  60. delete rootProject.buildDir
  61. }