build.gradle 990 B

123456789101112131415161718192021222324252627282930313233343536
  1. //buildscript {
  2. // ext.kotlin_version = '1.7.10'
  3. // repositories {
  4. // google()
  5. // mavenCentral()
  6. // }
  7. //
  8. // dependencies {
  9. // classpath 'com.android.tools.build:gradle:8.1.1'
  10. // classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  11. // }
  12. //}
  13. //
  14. allprojects {
  15. repositories {
  16. maven { url 'https://maven.aliyun.com/repository/google' }
  17. maven { url 'https://maven.aliyun.com/repository/public' }
  18. maven { url 'https://maven.aliyun.com/repository/jcenter' }
  19. maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
  20. google()
  21. mavenCentral()
  22. maven { url 'https://mirrors.tuna.tsinghua.edu.cn/flutter/download.flutter.io' }
  23. }
  24. }
  25. rootProject.buildDir = '../build'
  26. subprojects {
  27. project.buildDir = "${rootProject.buildDir}/${project.name}"
  28. }
  29. subprojects {
  30. project.evaluationDependsOn(':app')
  31. }
  32. tasks.register("clean", Delete) {
  33. delete rootProject.buildDir
  34. }