build.gradle 585 B

1234567891011121314151617181920212223242526272829
  1. buildscript {
  2. repositories {
  3. google()
  4. jcenter()
  5. maven { url 'https://storage.flutter-io.cn/download.flutter.io' }
  6. }
  7. dependencies {
  8. classpath 'com.android.tools.build:gradle:4.1.0'
  9. classpath 'com.google.gms:google-services:4.2.0'
  10. }
  11. }
  12. allprojects {
  13. repositories {
  14. google()
  15. jcenter()
  16. }
  17. }
  18. rootProject.buildDir = '../build'
  19. subprojects {
  20. project.buildDir = "${rootProject.buildDir}/${project.name}"
  21. project.evaluationDependsOn(':app')
  22. }
  23. task clean(type: Delete) {
  24. delete rootProject.buildDir
  25. }