File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -242,11 +242,8 @@ dependencies {}
242242 _adjustFile (
243243 gradleFile,
244244 replacements: < String , List <String >> {
245- if (gradleFileIsKotlin)
246- 'compileSdk' : < String > ['compileSdk = flutter.compileSdkVersion' ]
247- else ...< String , List <String >> {
248- 'compileSdkVersion' : < String > ['compileSdk flutter.compileSdkVersion' ],
249- }
245+ 'compileSdk' : < String > ['compileSdk = 35' ],
246+ 'compileSdkVersion' : < String > ['compileSdk = 35' ],
250247 },
251248 regexReplacements: < RegExp , List <String >> {
252249 // Tests for https://github.com/flutter/flutter/issues/43383
@@ -267,6 +264,8 @@ dependencies {}
267264 // section.
268265 },
269266 );
267+ print ('build.gradle contents:' );
268+ print (content);
270269 }
271270
272271 Future <void > _genPubspecWithAllPlugins () async {
Original file line number Diff line number Diff line change @@ -342,7 +342,7 @@ android {
342342 buildGradle,
343343 containsAll (< Matcher > [
344344 contains ('This is the legacy file' ),
345- contains ('compileSdk flutter.compileSdkVersion ' ),
345+ contains ('compileSdk = 35 ' ),
346346 ]));
347347 });
348348
@@ -375,7 +375,7 @@ android {
375375 expect (
376376 buildGradle,
377377 containsAll (< Matcher > [
378- contains ('compileSdk flutter.compileSdkVersion ' ),
378+ contains ('compileSdk = 35 ' ),
379379 contains ('androidx.lifecycle:lifecycle-runtime' ),
380380 ]));
381381 });
You can’t perform that action at this time.
0 commit comments