build.gradle 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. }
  23. dependencies {
  24. classpath 'com.android.tools.build:gradle:7.2.2'
  25. classpath 'com.huawei.agconnect:agcp:1.6.0.300'
  26. // NOTE: Do not place your application dependencies here; they belong
  27. // in the individual module build.gradle files
  28. }
  29. }
  30. allprojects {
  31. repositories {
  32. gradlePluginPortal()
  33. google()
  34. mavenCentral()
  35. maven { url "https://nexus-sdk.cm253.com/repository/maven-public/" }
  36. maven {
  37. allowInsecureProtocol = true
  38. url 'http://maven.aliyun.com/nexus/content/groups/public/'
  39. }
  40. maven {
  41. allowInsecureProtocol = true
  42. url MAVEN_PUBLIC_URL
  43. credentials {
  44. username MAVEN_USERNAME
  45. password MAVEN_PASSWORD
  46. }
  47. }
  48. maven { url 'https://artifact.bytedance.com/repository/pangle/' }
  49. maven { url 'https://repo1.maven.org/maven2/' }
  50. maven { url 'https://developer.huawei.com/repo/'}
  51. flatDir {
  52. dirs 'libs'
  53. }
  54. }
  55. }
  56. task clean(type: Delete) {
  57. delete rootProject.buildDir
  58. }