build.gradle 916 B

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