暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

build.gradle 592B

12345678910111213141516171819202122232425262728293031
  1. buildscript {
  2. ext.kotlin_version = '1.7.20'
  3. repositories {
  4. google()
  5. mavenCentral()
  6. }
  7. dependencies {
  8. classpath 'com.android.tools.build:gradle:7.1.3'
  9. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  10. }
  11. }
  12. allprojects {
  13. repositories {
  14. google()
  15. mavenCentral()
  16. }
  17. }
  18. rootProject.buildDir = '../build'
  19. subprojects {
  20. project.buildDir = "${rootProject.buildDir}/${project.name}"
  21. }
  22. subprojects {
  23. project.evaluationDependsOn(':app')
  24. }
  25. task clean(type: Delete) {
  26. delete rootProject.buildDir
  27. }