You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dd2d0ff
Browse filesBrowse the repository at this point in the historyBrowse files
Custom KGP task and migration to AGP api for geting kgp version (#182788)
Create a unified `PrintTask` that uses a standard Gradle
`Property<String>` to lazily hold and print a message.
Modify `javaVersion`, `kgpVersion`, and `printBuildVariants` to use this
new unified task.
Modify existing tests in `FlutterPluginTest` and
`FlutterPluginUtilsTest` to mock the newly required task registration
and provide data.
Add new unit tests in `PrintTaskTest.kt` to cover the `PrintTask`
behavior under both simple string and lazy mapped provider usages.
KgpVersion is migrated to use the *internal* AGP api for getting kgp
version.
Related to #180137
Format command that can be run from package_tools/gradle on only files
that are staged for commit. `ktlint
--editorconfig=../../../dev/bots/test/analyze-test-input/.editorconfig
--baseline=../../../dev/bots/test/analyze-test-input/ktlint-baseline.xml
$(git diff --name-only --cached| grep \.kt | sed
's/packages\/flutter_tools\/gradle\///g') --format`
## Pre-launch Checklist
- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.
0 commit comments