Skip to content

Conversation

helin24
Copy link
Member

@helin24 helin24 commented Oct 1, 2025

I removed code that seems to be related to making gradle files editable within a Flutter project window as the Android Studio code has changed. I will record some additional details in my internal notes.

There were also test compilation failures that suggested the annotations library wasn't required correctly. (see https://stackoverflow.com/questions/62066166/string-notnull-syntax-causes-notnull-not-applicable-to-type-use-in-in - thanks @pq). When I asked gemini about this, it suggested that we were compiling production source code twice for tests, because the test source sets included src as well. I guess it turns out that this isn't needed and the dependency on the production source code is implied; additionally, compiling the production source during test is bad because it can be compiled in the wrong environment. I think this is documentation that includes this info if we want to investigate further at a later time: https://docs.gradle.org/current/userguide/building_java_projects.html#sec:java_source_sets

Copy link
Collaborator

@pq pq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

}
// TODO(helin24): Delete this code (and potentially related code) if commenting out has no negative impact on Android editing.
// I believe this is to make gradle files show up nicely when a flutter project is opened, but this functionality already does not work
// and is not needed if we are recommending users edit Android files in a separate project window.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for inlining this context!

@helin24 helin24 requested a review from jwren October 1, 2025 14:50
@helin24 helin24 added the autosubmit When this label is applied to a PR, the PR will be submitted as soon as all checks are green. label Oct 2, 2025
Copy link

auto-submit bot commented Oct 2, 2025

autosubmit label was removed for flutter/flutter-intellij/8565, because - The status or check suite checker (UNIT_TEST_BOT) has failed. Please fix the issues identified (or deflake) before re-applying this label.

  • The status or check suite checker (VERIFY_BOT) has failed. Please fix the issues identified (or deflake) before re-applying this label.

@auto-submit auto-submit bot removed the autosubmit When this label is applied to a PR, the PR will be submitted as soon as all checks are green. label Oct 2, 2025
@helin24 helin24 merged commit 04f9253 into flutter:main Oct 2, 2025
14 of 17 checks passed
@helin24 helin24 deleted the alt-252 branch October 2, 2025 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants