build.gradle 978 B

12345678910111213141516171819202122232425262728293031
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
  5. maven{ url'https://maven.aliyun.com/nexus/content/repositories/jcenter'}
  6. google()
  7. jcenter()
  8. }
  9. dependencies {
  10. classpath "com.android.tools.build:gradle:4.2.0"
  11. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.60"
  12. classpath 'com.jakewharton:butterknife-gradle-plugin:10.2.1'
  13. }
  14. }
  15. allprojects {
  16. repositories {
  17. maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
  18. maven{ url'https://maven.aliyun.com/nexus/content/repositories/jcenter'}
  19. google()
  20. jcenter()
  21. maven { url 'https://jitpack.io' }
  22. maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
  23. }
  24. }
  25. task clean(type: Delete) {
  26. delete rootProject.buildDir
  27. }