Blame view

android/build.gradle 670 Bytes
2a29701f   liangchengyou   feat:提交代码
1
  buildscript {
156efec9   Key   修改包名,配置证书
2
      ext.kotlin_version = '1.8.21'
2a29701f   liangchengyou   feat:提交代码
3
4
5
6
7
8
      repositories {
          google()
          mavenCentral()
      }
  
      dependencies {
156efec9   Key   修改包名,配置证书
9
          // AGP版本,目前自动创建的Gradle版本是用的7.5.0
2a29701f   liangchengyou   feat:提交代码
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
          classpath 'com.android.tools.build:gradle:7.3.0'
          classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
      }
  }
  
  allprojects {
      repositories {
          google()
          mavenCentral()
      }
  }
  
  rootProject.buildDir = '../build'
  subprojects {
      project.buildDir = "${rootProject.buildDir}/${project.name}"
  }
  subprojects {
      project.evaluationDependsOn(':app')
  }
  
  tasks.register("clean", Delete) {
      delete rootProject.buildDir
  }