Browse Source

update gradle

git@h5.yoqi.me 1 year ago
parent
commit
19b5faebce
3 changed files with 6 additions and 6 deletions
  1. 2 2
      app/build.gradle
  2. 3 3
      build.gradle
  3. 1 1
      gradle/wrapper/gradle-wrapper.properties

+ 2 - 2
app/build.gradle

@@ -9,7 +9,7 @@ if (keystoreProperitiesFile.exists()) {
 }
 
 android {
-    compileSdkVersion 30
+    compileSdkVersion 31
     
     signingConfigs {
         release {
@@ -23,7 +23,7 @@ android {
     defaultConfig {
         applicationId "me.yoqi.android.safekeyboard"
         minSdkVersion 16
-        targetSdkVersion 30
+        targetSdkVersion 31
         versionCode 1
         versionName "1.0"
 

+ 3 - 3
build.gradle

@@ -2,10 +2,10 @@
 buildscript {
     repositories {
         google()
-        jcenter()
+        mavenCentral()
     }
     dependencies {
-        classpath "com.android.tools.build:gradle:4.1.0"
+        classpath "com.android.tools.build:gradle:7.2.2"
 
         // NOTE: Do not place your application dependencies here; they belong
         // in the individual module build.gradle files
@@ -15,7 +15,7 @@ buildscript {
 allprojects {
     repositories {
         google()
-        jcenter()
+        mavenCentral()
     }
 }
 

+ 1 - 1
gradle/wrapper/gradle-wrapper.properties

@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip