build.gradle 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext.kotlin_version = '1.3.61'
  4. ext.anko_version = '0.10.8'
  5. repositories {
  6. maven { url 'https://maven.aliyun.com/repository/jcenter' }
  7. maven { url 'https://maven.aliyun.com/repository/google' }
  8. google()
  9. jcenter()
  10. }
  11. dependencies {
  12. classpath 'com.android.tools.build:gradle:3.6.0'
  13. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  14. // NOTE: Do not place your application dependencies here; they belong
  15. // in the individual module build.gradle files
  16. }
  17. }
  18. allprojects {
  19. repositories {
  20. maven { url 'https://maven.aliyun.com/repository/jcenter' }
  21. maven { url 'https://maven.aliyun.com/repository/google' }
  22. google()
  23. jcenter()
  24. maven { url "https://jitpack.io" }
  25. maven { url "https://s01.oss.sonatype.org/content/groups/public" }
  26. }
  27. }
  28. task clean(type: Delete) {
  29. delete rootProject.buildDir
  30. }
  31. apply from: "config.gradle"