File tree 3 files changed +12
-6
lines changed
test/general.shard/android
3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,11 @@ import org.gradle.api.tasks.bundling.Jar
27
27
import org.gradle.internal.os.OperatingSystem
28
28
import org.gradle.util.VersionNumber
29
29
30
- /* * For apps only. Provides the flutter extension used in app/build.gradle. */
30
+ /* * For apps only. Provides the flutter extension used in app/build.gradle.
31
+ * The versions specified here should match the values used in
32
+ * ../lib/src/android/gradle_utils.dart, so when bumping, make sure to update
33
+ * the versions specified there.
34
+ */
31
35
class FlutterExtension {
32
36
/* * Sets the compileSdkVersion used by default in Flutter app projects. */
33
37
static int compileSdkVersion = 33
@@ -61,7 +65,9 @@ buildscript {
61
65
mavenCentral()
62
66
}
63
67
dependencies {
64
- /* When bumping, also update ndkVersion above. */
68
+ /* * When bumping, also update ndkVersion above, as well as the Android Gradle Plugin
69
+ * version in ../lib/src/android/gradle_utils.dart.
70
+ */
65
71
classpath ' com.android.tools.build:gradle:7.3.0'
66
72
}
67
73
}
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ import 'android_sdk.dart';
28
28
// https://developer.android.com/studio/releases/gradle-plugin#updating-gradle
29
29
// https://kotlinlang.org/docs/releases.html#release-details
30
30
const String templateDefaultGradleVersion = '7.5' ;
31
- const String templateAndroidGradlePluginVersion = '7.2 .0' ;
32
- const String templateDefaultGradleVersionForModule = '7.2 .0' ;
31
+ const String templateAndroidGradlePluginVersion = '7.3 .0' ;
32
+ const String templateDefaultGradleVersionForModule = '7.3 .0' ;
33
33
const String templateKotlinGradlePluginVersion = '1.7.10' ;
34
34
35
35
// These versions should match the values in flutter.gradle (FlutterExtension).
@@ -41,7 +41,7 @@ const String templateKotlinGradlePluginVersion = '1.7.10';
41
41
const String compileSdkVersion = '31' ;
42
42
const String minSdkVersion = '16' ;
43
43
const String targetSdkVersion = '31' ;
44
- const String ndkVersion = '21.4.7075529 ' ;
44
+ const String ndkVersion = '23.1.7779620 ' ;
45
45
46
46
final RegExp _androidPluginRegExp = RegExp (r'com\.android\.tools\.build:gradle:(\d+\.\d+\.\d+)' );
47
47
Original file line number Diff line number Diff line change @@ -979,7 +979,7 @@ A problem occurred evaluating project ':app'.
979
979
'│ To fix this issue, replace the following content: │\n '
980
980
'│ /android/build.gradle: │\n '
981
981
"│ - classpath 'com.android.tools.build:gradle:<current-version>' │\n "
982
- "│ + classpath 'com.android.tools.build:gradle:7.2 .0' │\n "
982
+ "│ + classpath 'com.android.tools.build:gradle:7.3 .0' │\n "
983
983
'│ /android/gradle/wrapper/gradle-wrapper.properties: │\n '
984
984
'│ - https://services.gradle.org/distributions/gradle-<current-version>-all.zip │\n '
985
985
'│ + https://services.gradle.org/distributions/gradle-7.5-all.zip │\n '
You can’t perform that action at this time.
0 commit comments