From 645cfcddf1f9467175771483f212c25847ec52ea Mon Sep 17 00:00:00 2001 From: Reid Baker Date: Fri, 7 Apr 2023 12:49:58 -0400 Subject: [PATCH] Update gradle_utils.dart and flutter.gradle to have the same versions as the documentation in file says is required. (#123213) This was an oversight from pr https://github.com/flutter/flutter/pull/116146/files. Comments in both files indicate that the versions should be bumped together. ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement]. - [x] I signed the [CLA]. - [ ] I listed at least one issue that this PR fixes in the description above. - [ ] I updated/added relevant documentation (doc comments with `///`). - [x] I added new tests to check the change I am making, or this PR is [test-exempt]. - [ ] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-new channel on [Discord]. --- packages/flutter_tools/lib/src/android/gradle_utils.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flutter_tools/lib/src/android/gradle_utils.dart b/packages/flutter_tools/lib/src/android/gradle_utils.dart index f2f92cec88..02b11d051a 100644 --- a/packages/flutter_tools/lib/src/android/gradle_utils.dart +++ b/packages/flutter_tools/lib/src/android/gradle_utils.dart @@ -39,9 +39,9 @@ const String templateKotlinGradlePluginVersion = '1.7.10'; // The remaining projects are: plugins, and modules compiled as AARs. In modules, the ephemeral directory // `.android` is always regenerated after flutter pub get, so new versions are picked up after a // Flutter upgrade. -const String compileSdkVersion = '31'; +const String compileSdkVersion = '33'; const String minSdkVersion = '16'; -const String targetSdkVersion = '31'; +const String targetSdkVersion = '33'; const String ndkVersion = '23.1.7779620'; // Update this when new versions of Gradle come out including minor versions