build.gradle 810 B

123456789101112131415161718192021222324252627282930
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. google()
  5. jcenter()
  6. }
  7. dependencies {
  8. classpath 'com.android.tools.build:gradle:3.3.1'
  9. // NOTE: Do not place your application dependencies here; they belong
  10. // in the individual module build.gradle files
  11. }
  12. }
  13. allprojects {
  14. repositories {
  15. google()
  16. jcenter()
  17. // 用于下载 'com.github.NaikSoftware:StompProtocolAndroid:1.4.5' 库
  18. maven { url "https://jitpack.io" }
  19. // 用于下载 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'
  20. maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
  21. }
  22. }
  23. task clean(type: Delete) {
  24. delete rootProject.buildDir
  25. }