Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions script/tool/lib/src/create_all_packages_app_command.dart
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,8 @@ dependencies {}
_adjustFile(
gradleFile,
replacements: <String, List<String>>{
if (gradleFileIsKotlin)
'compileSdk': <String>['compileSdk = 34']
else ...<String, List<String>>{
'compileSdkVersion': <String>['compileSdk 34'],
}
'compileSdk': <String>['compileSdk = 35'],
'compileSdkVersion': <String>['compileSdk = 35'],
},
regexReplacements: <RegExp, List<String>>{
// Tests for https://github.com/flutter/flutter/issues/43383
Expand All @@ -267,6 +264,8 @@ dependencies {}
// section.
},
);
print('build.gradle contents:');
print(content);
}

Future<void> _genPubspecWithAllPlugins() async {
Expand Down
4 changes: 2 additions & 2 deletions script/tool/test/create_all_packages_app_command_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ android {
buildGradle,
containsAll(<Matcher>[
contains('This is the legacy file'),
contains('compileSdk 34'),
contains('compileSdk = 35'),
]));
});

Expand Down Expand Up @@ -375,7 +375,7 @@ android {
expect(
buildGradle,
containsAll(<Matcher>[
contains('compileSdk 34'),
contains('compileSdk = 35'),
contains('androidx.lifecycle:lifecycle-runtime'),
]));
});
Expand Down