Repository navigation
feat(sdk): add version override support for AndroidX Leanback, CarApp, Wear, WearTiles - #23181
Conversation
There was a problem hiding this comment.
Pull request overview
Adds missing MSBuild “version override” plumbing for newly introduced AndroidX package groups in Uno.Sdk, aligning them with the existing override pattern used by other AndroidX groups.
Changes:
- Introduces 4 new
PackageManifest.Groupconstants for AndroidX Leanback, CarApp, Wear, and WearTiles. - Wires 4 new MSBuild task parameters into
ImplicitPackagesResolver_v0and applies them viaUpdateManifest(...). - Passes the 4 new MSBuild properties through
Uno.Implicit.Packages.targetsinto the resolver task invocation.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/Uno.Sdk/targets/Uno.Implicit.Packages.targets | Passes new AndroidX*Version MSBuild properties into the implicit packages resolver task. |
| src/Uno.Sdk/Tasks/ImplicitPackagesResolver.cs | Adds corresponding task properties and applies them to the manifest via UpdateManifest calls. |
| src/Uno.Sdk/Services/PackageManifest.cs | Adds new manifest group name constants for the new AndroidX groups. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
e783007 to
39a5697
Compare
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23181/wasm-skia-net9/index.html |
Related to https://github.com/unoplatform/uno-private/issues/1126.
Related to https://github.com/unoplatform/uno-private/issues/1327.
Related to https://github.com/unoplatform/uno-private/issues/1328.
Related to PR: unoplatform/uno.templates#2087
And as a follow-up of PR #23157 and #23175
Summary
Adds MSBuild version override properties for the 4 new AndroidX package groups introduced in uno.templates PR unoplatform/uno.templates#2087 (Android TV, Auto, and Wear OS support).
What
Wires up
AndroidXLeanbackVersion,AndroidXCarAppVersion,AndroidXWearVersion, andAndroidXWearTilesVersionMSBuild properties so users can override the default versions of these packages, matching the pattern already established for the 9 existing AndroidX groups.Why
The packages.json entries for these groups were added previously, but the MSBuild plumbing that allows user version overrides was missing. Without this, setting e.g.
<AndroidXLeanbackVersion>1.2.0</AndroidXLeanbackVersion>in a project file had no effect.Changes
Groupconstantsstring?properties + 4.UpdateManifest()calls