当前位置:   article > 正文

Android Studio 开发之 AS3.5.1 工程根目录下的build.gradle文件格式_android studio 3.5.1

android studio 3.5.1

该博客主要目的是备忘一下,android studio 3.5.1版本使用的gradle-5.4.1-all的正规配置:

1、工程根目录下的build.gradle, 配置如下:

  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. google()
  5. jcenter()
  6. }
  7. dependencies {
  8. classpath 'com.android.tools.build:gradle:3.5.1'
  9. // NOTE: Do not place your application dependencies here; they belong
  10. // in the individual module build.gradle files
  11. }
  12. }
  13. allprojects {
  14. repositories {
  15. google()
  16. jcenter()
  17. }
  18. }
  19. task clean(type: Delete) {
  20. delete rootProject.buildDir
  21. }

 </

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/从前慢现在也慢/article/detail/266170
推荐阅读
相关标签
  

闽ICP备14008679号