当前位置:   article > 正文

Android Studio 的 flutter 2 项目的 build.gradle 配置文件(适用于 gradle 4.1.0)_flutter build.gradle

flutter build.gradle
  1. buildscript {
  2. ext.kotlin_version = '1.6.10'
  3. repositories {
  4. jcenter() { url "https://maven.aliyun.com/repository/jcenter"}
  5. maven { url "https://maven.aliyun.com/repository/google/" }
  6. }
  7. dependencies {
  8. classpath "com.android.tools.build:gradle:4.1.0"
  9. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  10. }
  11. }
  12. allprojects {
  13. repositories {
  14. //google()
  15. //mavenCentral()
  16. maven{url "https://storage.googleapis.com/download.flutter.io"}
  17. jcenter() { url "https://maven.aliyun.com/repository/jcenter"}
  18. maven { url "https://maven.aliyun.com/repository/google/" }
  19. }
  20. }
  21. rootProject.buildDir = '../build'
  22. subprojects {
  23. project.buildDir = "${rootProject.buildDir}/${project.name}"
  24. }
  25. subprojects {
  26. project.evaluationDependsOn(':app')
  27. }
  28. task clean(type
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/空白诗007/article/detail/907349
推荐阅读
相关标签
  

闽ICP备14008679号