build.gradle 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext.kotlin_version = '1.2.71'
  4. repositories {
  5. maven { url 'https://jitpack.io' }
  6. maven {
  7. url 'https://maven.aliyun.com/repository/public/'
  8. }
  9. maven {
  10. url "https://maven.aliyun.com/repository/google"
  11. }
  12. google()
  13. jcenter()
  14. }
  15. dependencies {
  16. classpath 'com.android.tools.build:gradle:4.1.1'
  17. classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
  18. classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6'
  19. // classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  20. // NOTE: Do not place your application dependencies here; they belong
  21. // in the individual module build.gradle files
  22. }
  23. }
  24. allprojects {
  25. repositories {
  26. maven { url 'https://jitpack.io' }
  27. maven {
  28. url 'https://maven.aliyun.com/repository/public/'
  29. }
  30. maven {
  31. url "https://maven.aliyun.com/repository/google"
  32. }
  33. google()
  34. jcenter()
  35. }
  36. }
  37. task clean(type: Delete) {
  38. delete rootProject.buildDir
  39. }