build.gradle 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext.kotlin_version = '1.4.32'
  4. repositories {
  5. google()
  6. jcenter()
  7. }
  8. dependencies {
  9. classpath 'com.android.tools.build:gradle:4.1.3'
  10. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  11. // NOTE: Do not place your application dependencies here; they belong
  12. // in the individual module build.gradle files
  13. }
  14. }
  15. allprojects {
  16. repositories {
  17. google()
  18. jcenter()
  19. maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
  20. maven {
  21. url MAVEN_PUBLIC_URL
  22. credentials {
  23. username MAVEN_USERNAME
  24. password MAVEN_PASSWORD
  25. }
  26. }
  27. maven { url 'https://repo1.maven.org/maven2/' }
  28. maven { url 'https://developer.huawei.com/repo/' }
  29. maven { url 'https://jitpack.io' }
  30. maven {
  31. url 'https://artifact.bytedance.com/repository/pangle'
  32. }
  33. flatDir {
  34. dirs 'libs'
  35. }
  36. }
  37. }
  38. task clean(type: Delete) {
  39. delete rootProject.buildDir
  40. }