build.gradle 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. apply from: "config.gradle"
  3. buildscript {
  4. repositories {
  5. maven {
  6. url "https://maven.google.com"
  7. }
  8. google()
  9. maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
  10. maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
  11. jcenter()
  12. }
  13. dependencies {
  14. classpath 'com.android.tools.build:gradle:3.2.0'
  15. // NOTE: Do not place your application dependencies here; they belong
  16. // in the individual module build.gradle files
  17. classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0'
  18. }
  19. }
  20. allprojects {
  21. repositories {
  22. google()
  23. maven {
  24. url "https://maven.google.com"
  25. }
  26. maven{
  27. url "https://dl.bintray.com/tencentqcloudterminal/maven"
  28. }
  29. maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
  30. maven { url "https://jitpack.io" }
  31. maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
  32. jcenter()
  33. }
  34. }
  35. task clean(type: Delete) {
  36. delete rootProject.buildDir
  37. }