build.gradle 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. buildscript {
  2. repositories {
  3. // google()
  4. // jcenter()
  5. maven {
  6. url 'http://download.flutter.io'
  7. }
  8. maven {
  9. url 'http://maven.aliyun.com/nexus/content/repositories/releases/'
  10. }
  11. maven { url 'https://maven.aliyun.com/repository/google' }
  12. maven { url 'https://maven.aliyun.com/repository/jcenter' }
  13. maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
  14. }
  15. dependencies {
  16. classpath 'com.android.tools.build:gradle:3.5.0'
  17. }
  18. }
  19. allprojects {
  20. repositories {
  21. // google()
  22. // jcenter()
  23. maven {
  24. url 'http://download.flutter.io'
  25. }
  26. maven {
  27. url 'http://maven.aliyun.com/nexus/content/repositories/releases/'
  28. }
  29. maven { url 'https://maven.aliyun.com/repository/google' }
  30. maven { url 'https://maven.aliyun.com/repository/jcenter' }
  31. maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
  32. }
  33. }
  34. rootProject.buildDir = '../build'
  35. subprojects {
  36. project.buildDir = "${rootProject.buildDir}/${project.name}"
  37. }
  38. subprojects {
  39. project.evaluationDependsOn(':app')
  40. }
  41. task clean(type: Delete) {
  42. delete rootProject.buildDir
  43. }