build.gradle 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. mavenLocal()
  5. maven { url "https://maven.aliyun.com/repository/google" }
  6. maven { url "https://maven.aliyun.com/repository/public" }
  7. google()
  8. mavenCentral()
  9. }
  10. dependencies {
  11. classpath 'com.android.tools.build:gradle:7.2.2'
  12. classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21'
  13. // NOTE: Do not place your application dependencies here; they belong
  14. // in the individual module build.gradle files
  15. }
  16. }
  17. allprojects {
  18. repositories {
  19. mavenLocal()
  20. maven { url "https://nexus.hgits.cn/nexus/repository/hgsoft"}
  21. maven { url "https://maven.aliyun.com/repository/google" }
  22. maven { url "https://maven.aliyun.com/repository/public" }
  23. maven { url 'https://jitpack.io' }
  24. google()
  25. mavenCentral()
  26. }
  27. }
  28. task clean(type: Delete) {
  29. delete rootProject.buildDir
  30. }