-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "Reland: "Fix how Gradle resolves Android plugin" (#137115)" #142464
Conversation
)" This reverts commit f5ac225.
@bartekpacia This seems to be conflicting with #141417. Was planning to undo the changes to the example apps here, but not sure if this is caused by something I did in the merge. |
This reverts commit 67e1202.
FlutterExtension extension = project.extensions.create("flutter", FlutterExtension) | ||
Properties localProperties = new Properties() | ||
File localPropertiesFile = rootProject.file("local.properties") | ||
if (localPropertiesFile.exists()) { | ||
localPropertiesFile.withReader("UTF-8") { reader -> | ||
localProperties.load(reader) | ||
} | ||
} | ||
|
||
Object flutterVersionCode = localProperties.getProperty("flutter.versionCode") | ||
if (flutterVersionCode == null) { | ||
flutterVersionCode = "1" | ||
} | ||
extension.flutterVersionCode = flutterVersionCode | ||
|
||
Object flutterVersionName = localProperties.getProperty("flutter.versionName") | ||
if (flutterVersionName == null) { | ||
flutterVersionName = "1.0" | ||
} | ||
extension.flutterVersionName = flutterVersionName | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok adding this back
Before merging, I will file an issue to add back functionality to support #140744! |
)" (flutter#142464) This reverts commit f5ac225, i.e. flutter#137115. This is a continuation of flutter#142266 that was redone based on feedback to make this easier to revert in the future. The exact steps I took to create this revert: 1. Revert commit noted above 2. Fix merge conflicts, that notably involved reverting some changes in flutter#140744 ~and flutter#141417 (fixed my merge to avoid the second PR from being affected) 3. Delete `packages/flutter_tools/test/integration.shard/android_plugin_skip_unsupported_test.dart` as this was added in the commit noted above cc @Gustl22 since I couldn't tag as a reviewer
flutter/flutter@ace9181...75a2e5b 2024-01-30 39623254+aizatazhar@users.noreply.github.com Reset framesEnabled to default value at the end of each test (flutter/flutter#141844) 2024-01-30 katelovett@google.com Fix SliverMainAxisGroup geometry cacheExtent (flutter/flutter#142482) 2024-01-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from 0e586d1c28c8 to f02a4a80a77e (3 revisions) (flutter/flutter#142528) 2024-01-30 engine-flutter-autoroll@skia.org Roll Packages from 516648a to 25abb5d (6 revisions) (flutter/flutter#142527) 2024-01-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from 438e9b4d7d4e to 0e586d1c28c8 (4 revisions) (flutter/flutter#142515) 2024-01-30 26625149+0xZOne@users.noreply.github.com Using `initExpensiveAndroidView` for Android Hybrid Composition Mode (flutter/flutter#142399) 2024-01-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from ed73d40a8c93 to 438e9b4d7d4e (1 revision) (flutter/flutter#142508) 2024-01-30 polinach@google.com Organize leak tracking TODOs. (flutter/flutter#142460) 2024-01-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from 5584a78a439b to ed73d40a8c93 (1 revision) (flutter/flutter#142504) 2024-01-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from df5f1afd4991 to 5584a78a439b (2 revisions) (flutter/flutter#142503) 2024-01-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from 65bf8b1db4d1 to df5f1afd4991 (1 revision) (flutter/flutter#142501) 2024-01-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from c9268c7db03c to 65bf8b1db4d1 (1 revision) (flutter/flutter#142496) 2024-01-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from e21208583956 to c9268c7db03c (1 revision) (flutter/flutter#142492) 2024-01-29 engine-flutter-autoroll@skia.org Roll Flutter Engine from bedafa8794b6 to e21208583956 (1 revision) (flutter/flutter#142483) 2024-01-29 43054281+camsim99@users.noreply.github.com Revert "Reland: "Fix how Gradle resolves Android plugin" (#137115)" (flutter/flutter#142464) 2024-01-29 fluttergithubbot@gmail.com Marks Mac_pixel_7pro native_assets_android to be unflaky (flutter/flutter#141675) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC rmistry@google.com,stuartmorgan@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…tter#137115)" (flutter#142464)" This reverts commit 995e3fa.
…r#6017) flutter/flutter@ace9181...75a2e5b 2024-01-30 39623254+aizatazhar@users.noreply.github.com Reset framesEnabled to default value at the end of each test (flutter/flutter#141844) 2024-01-30 katelovett@google.com Fix SliverMainAxisGroup geometry cacheExtent (flutter/flutter#142482) 2024-01-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from 0e586d1c28c8 to f02a4a80a77e (3 revisions) (flutter/flutter#142528) 2024-01-30 engine-flutter-autoroll@skia.org Roll Packages from 516648a to 25abb5d (6 revisions) (flutter/flutter#142527) 2024-01-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from 438e9b4d7d4e to 0e586d1c28c8 (4 revisions) (flutter/flutter#142515) 2024-01-30 26625149+0xZOne@users.noreply.github.com Using `initExpensiveAndroidView` for Android Hybrid Composition Mode (flutter/flutter#142399) 2024-01-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from ed73d40a8c93 to 438e9b4d7d4e (1 revision) (flutter/flutter#142508) 2024-01-30 polinach@google.com Organize leak tracking TODOs. (flutter/flutter#142460) 2024-01-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from 5584a78a439b to ed73d40a8c93 (1 revision) (flutter/flutter#142504) 2024-01-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from df5f1afd4991 to 5584a78a439b (2 revisions) (flutter/flutter#142503) 2024-01-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from 65bf8b1db4d1 to df5f1afd4991 (1 revision) (flutter/flutter#142501) 2024-01-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from c9268c7db03c to 65bf8b1db4d1 (1 revision) (flutter/flutter#142496) 2024-01-30 engine-flutter-autoroll@skia.org Roll Flutter Engine from e21208583956 to c9268c7db03c (1 revision) (flutter/flutter#142492) 2024-01-29 engine-flutter-autoroll@skia.org Roll Flutter Engine from bedafa8794b6 to e21208583956 (1 revision) (flutter/flutter#142483) 2024-01-29 43054281+camsim99@users.noreply.github.com Revert "Reland: "Fix how Gradle resolves Android plugin" (#137115)" (flutter/flutter#142464) 2024-01-29 fluttergithubbot@gmail.com Marks Mac_pixel_7pro native_assets_android to be unflaky (flutter/flutter#141675) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC rmistry@google.com,stuartmorgan@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
This reverts commit f5ac225, i.e. #137115.
This is a continuation of #142266 that was redone based on feedback to make this easier to revert in the future. The exact steps I took to create this revert:
and Expose versionCode and versionName from local.properties in FlutterExtension #141417(fixed my merge to avoid the second PR from being affected)packages/flutter_tools/test/integration.shard/android_plugin_skip_unsupported_test.dart
as this was added in the commit noted abovecc @Gustl22 since I couldn't tag as a reviewer
Pre-launch Checklist
///
).