build.gradle 983 B

12345678910111213141516171819202122232425262728293031
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext.kotlin_version = '1.4.30-M1'
  4. repositories {
  5. google()
  6. jcenter()
  7. maven{ url = "http://maven.aliyun.com/nexus/content/groups/public/" }
  8. maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
  9. }
  10. dependencies {
  11. classpath 'com.android.tools.build:gradle:4.2.1'
  12. classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
  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. google()
  21. jcenter()
  22. maven { url "https://jitpack.io" }
  23. maven{ url = "http://maven.aliyun.com/nexus/content/groups/public/" }
  24. }
  25. }
  26. task clean(type: Delete) {
  27. delete rootProject.buildDir
  28. }