Skip to content

Commit

Permalink
Merge pull request unoplatform#18513 from unoplatform/dev/jela/devser…
Browse files Browse the repository at this point in the history
…ver-update

chore: Add support for uno settings
  • Loading branch information
jeromelaban authored Oct 18, 2024
2 parents 639c987 + d60f4c0 commit 507b19f
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Uno.Sdk/Sdk/Sdk.props.buildschema.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,10 @@
"description": "Provides an explicit override for the version of Uno.Sdk.Extras to use.",
"type": "nuget-version"
},
"UnoSettingsVersion": {
"description": "Provides an explicit override for the version of Uno.Settings to use.",
"type": "nuget-version"
},
"MicrosoftLoggingVersion": {
"description": "Provides an explicit override for the version of Microsoft.Extensions.Logging to use.",
"type": "nuget-version"
Expand Down
1 change: 1 addition & 0 deletions src/Uno.Sdk/Services/PackageManifest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ public class Group
public const string Dsp = nameof(Dsp);
public const string Resizetizer = nameof(Resizetizer);
public const string SdkExtras = nameof(SdkExtras);
public const string Settings = nameof(Settings);
public const string SkiaSharp = nameof(SkiaSharp);
public const string SvgSkia = nameof(SvgSkia);
public const string WinAppSdk = nameof(WinAppSdk);
Expand Down
3 changes: 3 additions & 0 deletions src/Uno.Sdk/Tasks/ImplicitPackagesResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ public sealed class ImplicitPackagesResolver_v0 : Task

public string? UnoSdkExtrasVersion { get; set; }

public string? UnoSettingsVersion { get; set; }

public string? MicrosoftLoggingVersion { get; set; }

public string? WinAppSdkVersion { get; set; }
Expand Down Expand Up @@ -243,6 +245,7 @@ private void SetupRuntimePackageManifestUpdates(PackageManifest manifest)
.UpdateManifest(PackageManifest.Group.Dsp, UnoDspTasksVersion)
.UpdateManifest(PackageManifest.Group.Resizetizer, UnoSdkExtrasVersion)
.UpdateManifest(PackageManifest.Group.SdkExtras, UnoResizetizerVersion)
.UpdateManifest(PackageManifest.Group.Settings, UnoSettingsVersion)
.UpdateManifest(PackageManifest.Group.SkiaSharp, SkiaSharpVersion)
.UpdateManifest(PackageManifest.Group.SvgSkia, SvgSkiaVersion)
.UpdateManifest(PackageManifest.Group.WinAppSdk, WinAppSdkVersion)
Expand Down
7 changes: 7 additions & 0 deletions src/Uno.Sdk/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@
"Uno.Sdk.Extras"
]
},
{
"group": "settings",
"version": "0.1.0-dev.144",
"packages": [
"Uno.Settings.DevServer"
]
},
{
"group": "SkiaSharp",
"version": "2.88.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<_UnoProjectSystemPackageReference Include="Uno.WinUI" ProjectSystem="true" />
<_UnoProjectSystemPackageReference Include="Uno.Resizetizer" ProjectSystem="true" PrivateAssets="all" />
<_UnoProjectSystemPackageReference Include="Uno.Sdk.Extras" ProjectSystem="true" PrivateAssets="all" />
<_UnoProjectSystemPackageReference Include="Uno.Settings.DevServer" ProjectSystem="true" PrivateAssets="all" />
</ItemGroup>

<ItemGroup Condition=" '$(_ImplicitRestoreOutputType)' == 'WinExe' OR '$(_ImplicitRestoreOutputType)' == 'Exe' ">
Expand Down
1 change: 1 addition & 0 deletions src/Uno.Sdk/targets/Uno.Implicit.Packages.targets
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
AndroidXSwipeRefreshLayoutVersion="@(AndroidXSwipeRefreshLayoutVersion)"
UnoResizetizerVersion="$(UnoResizetizerVersion)"
UnoSdkExtrasVersion="$(UnoSdkExtrasVersion)"
UnoSettingsVersion="$(UnoSettingsVersion)"
MicrosoftLoggingVersion="$(MicrosoftLoggingVersion)"
WinAppSdkVersion="$(WinAppSdkVersion)"
WinAppSdkBuildToolsVersion="$(WinAppSdkBuildToolsVersion)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="2.3.2" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
<PackageReference Include="StreamJsonRpc" Version="2.14.24" />
<PackageReference Include="MessagePack" Version="2.5.187" />

<!-- StreamJsonRpc 2.14.24 brings in Microsoft.VisualStudio.Threading (and in turn -->
<!-- Microsoft.VisualStudio.Threading.Analyzers) version 17.1.46 -->
Expand Down
1 change: 1 addition & 0 deletions src/Uno.UI.RemoteControl.VS/Uno.UI.RemoteControl.VS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<PackageReference Include="NuGet.VisualStudio" version="4.5.0" />
<PackageReference Include="Microsoft.VisualStudio.ProjectSystem" Version="17.0.1313-pre" />
<PackageReference Include="StreamJsonRpc" Version="2.14.24" />
<PackageReference Include="MessagePack" Version="2.5.187" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.7.30" />
<PackageReference Include="PolySharp" Version="1.14.1">
Expand Down

0 comments on commit 507b19f

Please sign in to comment.