flutter: android: Upgrade gradle to 4.1.2 and cmake to 3.18.1

This commit is contained in:
Calcitem 2021-03-21 02:58:57 +08:00
parent 171ae09185
commit b40339cc81
3 changed files with 6 additions and 2 deletions

View File

@ -73,6 +73,7 @@ android {
externalNativeBuild {
cmake {
path "CMakeLists.txt"
version '3.18.1'
}
}
}

View File

@ -1,11 +1,14 @@
buildscript {
repositories {
// Gradle 4.1 and higher include support for Google's Maven repo using
// the google() method. And you need to include this repo to download
// Android Gradle plugin 3.0.0 or higher.
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
classpath 'com.android.tools.build:gradle:4.1.2'
}
}

View File

@ -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-5.6.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip