build.gradle 985 B

12345678910111213141516171819202122232425262728
  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.41'
  4. repositories {
  5. google()
  6. maven{ url'http://maven.aliyun.com/nexus/content/groups/public/' }
  7. maven{ url'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
  8. }
  9. dependencies {
  10. classpath 'com.android.tools.build:gradle:3.4.2'
  11. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  12. // NOTE: Do not place your application dependencies here; they belong
  13. // in the individual module build.gradle files
  14. }
  15. }
  16. allprojects {
  17. repositories {
  18. maven { url 'http://maven.aliyun.com/nexus/content/repositories/google' }
  19. maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
  20. maven{ url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
  21. }
  22. }
  23. task clean(type: Delete) {
  24. delete rootProject.buildDir
  25. }