build.gradle 1.0 KB

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