Aucune description

build.gradle 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. mavenLocal()
  5. mavenCentral()
  6. maven { url 'https://maven.aliyun.com/repository/public' }
  7. maven { url 'https://jitpack.io' }
  8. maven { url 'https://maven.aliyun.com/repository/google' }
  9. maven { url'https://maven.aliyun.com/repository/jcenter/' }
  10. maven { url 'https://repo1.maven.org/maven2/' }
  11. }
  12. dependencies {
  13. classpath 'com.android.tools.build:gradle:3.6.3'
  14. classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2' // 添加插件 更好支持GreenDao
  15. // NOTE: Do not place your application dependencies here; they belong
  16. // in the individual module build.gradle files
  17. }
  18. }
  19. allprojects {
  20. repositories {
  21. mavenLocal()
  22. mavenCentral()
  23. maven { url 'https://maven.aliyun.com/repository/public' }
  24. maven { url 'https://jitpack.io' }
  25. maven { url 'https://maven.aliyun.com/repository/google' }
  26. maven { url'https://maven.aliyun.com/repository/jcenter/' }
  27. // maven { url "http://repo.baichuan-android.taobao.com/content/groups/BaichuanRepositories/" }
  28. maven { url 'https://repo1.maven.org/maven2/' }
  29. }
  30. }
  31. task clean(type: Delete) {
  32. delete rootProject.buildDir
  33. }