Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Add lockfile for Gradle projects #505

Merged
merged 3 commits into from
May 21, 2021
Merged

Add lockfile for Gradle projects #505

merged 3 commits into from
May 21, 2021

Conversation

blasten
Copy link

@blasten blasten commented May 19, 2021

Related thread: flutter/flutter#82745

After this change, adding a new Gradle dependency (or Flutter plugin with different Gradle dependencies) will fail the build until the new files are generated.

I will add steps about to how to update the lock files.
It's a bit cumbersome, so a script may be required to update these lockfiles.

@blasten blasten requested review from rami-a and godofredoc May 19, 2021 06:07
Copy link
Member

@guidezpl guidezpl left a comment

Choose a reason for hiding this comment

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

@blasten
Copy link
Author

blasten commented May 21, 2021

The tool has been added to the flutter repo. To update the lockfiles, you can run cd android && ./gradlew :generateLockfiles

@blasten blasten merged commit aafbabc into master May 21, 2021
@blasten blasten deleted the gradle_lockfiles branch May 21, 2021 22:15
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.

3 participants