build.gradle 921 B

123456789101112131415161718192021222324252627282930313233
  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.20'
  4. repositories {
  5. google()
  6. mavenCentral()
  7. jcenter()
  8. maven { url 'https://repo1.maven.org/maven2/' }
  9. }
  10. dependencies {
  11. classpath "com.android.tools.build:gradle:4.0.0"
  12. // classpath 'com.android.tools.build:gradle:3.6.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. mavenCentral()
  23. maven {
  24. url "https://jitpack.io"
  25. }
  26. maven { url 'https://repo1.maven.org/maven2/' }
  27. }
  28. }
  29. task clean(type: Delete) {
  30. delete rootProject.buildDir
  31. }