Skip to content

Cleanup FLX related code - #16416

Merged
szakarias merged 2 commits into
flutter:masterfrom
szakarias:newFlxCleanup
Apr 12, 2018
Merged

szakarias merged 2 commits into
flutter:masterfrom
szakarias:newFlxCleanup

Conversation

@szakarias

Copy link
Copy Markdown
Contributor

This change

@mravn-google mravn-google left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We don't usually update these. I don't think it makes a difference that we rename the file.

@jakobr-google jakobr-google left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

}

FlutterTask flutterTask = project.tasks.create(name: "flutterBuild${variant.name.capitalize()}", type: FlutterTask) {
dependsOn dependenciesTask

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Do you know what was the purpose of flutterDependencies task? It sounds like it was to generate initial dependency file for this flutterBuild task, so that flutterBuild task can be skipped if sources haven't changed.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

That was the purpose, yes, but since then some other changes were made to Flutter Tools, so it now also checks if the source files have changed before building a new snapshot. So it's no longer necessary to do a double build in Gradle anymore.

DaveShuckerow pushed a commit to DaveShuckerow/flutter that referenced this pull request May 14, 2018
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants