From fe04dcf96108243897372da5d1f702fe33ee8953 Mon Sep 17 00:00:00 2001 From: shifujun Date: Tue, 17 Aug 2021 18:17:45 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=BB=9F=E4=B8=80=E6=89=80=E6=9C=89sa?= =?UTF-8?q?mple=E7=9A=84AGP=E5=88=B04.0.2=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 避免4.0.0以下版本生成没有的apk,在targetSdkVersion>=30时,在API 30以上的手机上Crash。 #582 --- projects/sample/maven/host-project/build.gradle | 2 +- .../host-project/gradle/wrapper/gradle-wrapper.properties | 4 ++-- projects/sample/maven/manager-project/build.gradle | 2 +- .../manager-project/gradle/wrapper/gradle-wrapper.properties | 4 ++-- projects/sample/maven/plugin-project/build.gradle | 2 +- .../plugin-project/gradle/wrapper/gradle-wrapper.properties | 4 ++-- projects/sample/sunflower/plugin-project/build.gradle | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/projects/sample/maven/host-project/build.gradle b/projects/sample/maven/host-project/build.gradle index ca1536adc..172f45abc 100644 --- a/projects/sample/maven/host-project/build.gradle +++ b/projects/sample/maven/host-project/build.gradle @@ -11,7 +11,7 @@ buildscript { } } dependencies { - classpath 'com.android.tools.build:gradle:3.2.0' + classpath 'com.android.tools.build:gradle:4.0.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } diff --git a/projects/sample/maven/host-project/gradle/wrapper/gradle-wrapper.properties b/projects/sample/maven/host-project/gradle/wrapper/gradle-wrapper.properties index ea2306229..6ead1b310 100644 --- a/projects/sample/maven/host-project/gradle/wrapper/gradle-wrapper.properties +++ b/projects/sample/maven/host-project/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -#distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-bin.zip -distributionUrl=https\://mirrors.tencent.com/gradle/gradle-5.6.4-bin.zip +#distributionUrl=https\://services.gradle.org/distributions/gradle-6.6.1-bin.zip +distributionUrl=https\://mirrors.tencent.com/gradle/gradle-6.6.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/projects/sample/maven/manager-project/build.gradle b/projects/sample/maven/manager-project/build.gradle index ca1536adc..172f45abc 100644 --- a/projects/sample/maven/manager-project/build.gradle +++ b/projects/sample/maven/manager-project/build.gradle @@ -11,7 +11,7 @@ buildscript { } } dependencies { - classpath 'com.android.tools.build:gradle:3.2.0' + classpath 'com.android.tools.build:gradle:4.0.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } diff --git a/projects/sample/maven/manager-project/gradle/wrapper/gradle-wrapper.properties b/projects/sample/maven/manager-project/gradle/wrapper/gradle-wrapper.properties index 02228ef92..b68c6865c 100644 --- a/projects/sample/maven/manager-project/gradle/wrapper/gradle-wrapper.properties +++ b/projects/sample/maven/manager-project/gradle/wrapper/gradle-wrapper.properties @@ -3,5 +3,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -#distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip -distributionUrl=https\://mirrors.tencent.com/gradle/gradle-5.6.4-all.zip +#distributionUrl=https\://services.gradle.org/distributions/gradle-6.6.1-bin.zip +distributionUrl=https\://mirrors.tencent.com/gradle/gradle-6.6.1-bin.zip diff --git a/projects/sample/maven/plugin-project/build.gradle b/projects/sample/maven/plugin-project/build.gradle index ca1536adc..172f45abc 100644 --- a/projects/sample/maven/plugin-project/build.gradle +++ b/projects/sample/maven/plugin-project/build.gradle @@ -11,7 +11,7 @@ buildscript { } } dependencies { - classpath 'com.android.tools.build:gradle:3.2.0' + classpath 'com.android.tools.build:gradle:4.0.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } diff --git a/projects/sample/maven/plugin-project/gradle/wrapper/gradle-wrapper.properties b/projects/sample/maven/plugin-project/gradle/wrapper/gradle-wrapper.properties index 02228ef92..b68c6865c 100644 --- a/projects/sample/maven/plugin-project/gradle/wrapper/gradle-wrapper.properties +++ b/projects/sample/maven/plugin-project/gradle/wrapper/gradle-wrapper.properties @@ -3,5 +3,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -#distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip -distributionUrl=https\://mirrors.tencent.com/gradle/gradle-5.6.4-all.zip +#distributionUrl=https\://services.gradle.org/distributions/gradle-6.6.1-bin.zip +distributionUrl=https\://mirrors.tencent.com/gradle/gradle-6.6.1-bin.zip diff --git a/projects/sample/sunflower/plugin-project/build.gradle b/projects/sample/sunflower/plugin-project/build.gradle index 1e59e008b..c3c394575 100644 --- a/projects/sample/sunflower/plugin-project/build.gradle +++ b/projects/sample/sunflower/plugin-project/build.gradle @@ -31,7 +31,7 @@ buildscript { espressoVersion = '3.1.1' fragmentVersion = '1.1.0-alpha09' glideVersion = '4.9.0' - gradleVersion = '3.5.1' + gradleVersion = '4.0.2' gsonVersion = '2.8.2' junitVersion = '4.12' kotlinVersion = '1.3.41'