浏览代码

updated gradle

yattoz 2 年前
父节点
当前提交
300a806d81
共有 3 个文件被更改,包括 2 次插入3 次删除
  1. 0 1
      app/build.gradle
  2. 1 1
      build.gradle
  3. 1 1
      gradle/wrapper/gradle-wrapper.properties

+ 0 - 1
app/build.gradle 查看文件

@@ -17,7 +17,6 @@ configurations.all {
17 17
 
18 18
 android {
19 19
     compileSdkVersion 30
20
-    buildToolsVersion "30.0.1"
21 20
     compileOptions {
22 21
         sourceCompatibility JavaVersion.VERSION_1_8
23 22
         targetCompatibility JavaVersion.VERSION_1_8

+ 1 - 1
build.gradle 查看文件

@@ -7,7 +7,7 @@ buildscript {
7 7
         jcenter()
8 8
     }
9 9
     dependencies {
10
-        classpath 'com.android.tools.build:gradle:4.0.1'
10
+        classpath 'com.android.tools.build:gradle:7.1.1'
11 11
         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
12 12
         // NOTE: Do not place your application dependencies here; they belong
13 13
         // in the individual module build.gradle files

+ 1 - 1
gradle/wrapper/gradle-wrapper.properties 查看文件

@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
3 3
 distributionPath=wrapper/dists
4 4
 zipStoreBase=GRADLE_USER_HOME
5 5
 zipStorePath=wrapper/dists
6
-distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
6
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip