build.gradle 743 B

123456789101112131415161718192021222324252627
  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.6.0'
  6. }
  7. repositories {
  8. google()
  9. mavenCentral()
  10. jcenter()
  11. maven { url 'https://maven.aliyun.com/repository/public' }
  12. maven { url 'https://jitpack.io' }
  13. }
  14. dependencies {
  15. classpath 'com.android.tools.build:gradle:7.0.4'
  16. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  17. // NOTE: Do not place your application dependencies here; they belong
  18. // in the individual module build.gradle files
  19. }
  20. }
  21. task clean(type: Delete) {
  22. delete rootProject.buildDir
  23. }