mirror of
https://github.com/flutter/packages.git
synced 2025-08-24 19:42:17 +08:00
Bump create_all_packages_command CompileSdk to 36 (#9293)
Bumps the `create_all_packages_command` `compileSdk` to 36. The test targets will test against the bump. Partially Adresses https://github.com/flutter/flutter/issues/163071 ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
This commit is contained in:
@ -243,9 +243,9 @@ dependencies {}
|
|||||||
gradleFile,
|
gradleFile,
|
||||||
replacements: <String, List<String>>{
|
replacements: <String, List<String>>{
|
||||||
if (gradleFileIsKotlin)
|
if (gradleFileIsKotlin)
|
||||||
'compileSdk': <String>['compileSdk = 35']
|
'compileSdk': <String>['compileSdk = 36']
|
||||||
else ...<String, List<String>>{
|
else ...<String, List<String>>{
|
||||||
'compileSdkVersion': <String>['compileSdk 35'],
|
'compileSdkVersion': <String>['compileSdk 36'],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
regexReplacements: <RegExp, List<String>>{
|
regexReplacements: <RegExp, List<String>>{
|
||||||
|
@ -339,7 +339,7 @@ android {
|
|||||||
buildGradle,
|
buildGradle,
|
||||||
containsAll(<Matcher>[
|
containsAll(<Matcher>[
|
||||||
contains('This is the legacy file'),
|
contains('This is the legacy file'),
|
||||||
contains('compileSdk 35'),
|
contains('compileSdk 36'),
|
||||||
]));
|
]));
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -372,7 +372,7 @@ android {
|
|||||||
expect(
|
expect(
|
||||||
buildGradle,
|
buildGradle,
|
||||||
containsAll(<Matcher>[
|
containsAll(<Matcher>[
|
||||||
contains('compileSdk 35'),
|
contains('compileSdk 36'),
|
||||||
contains('androidx.lifecycle:lifecycle-runtime'),
|
contains('androidx.lifecycle:lifecycle-runtime'),
|
||||||
]));
|
]));
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user