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