Skip to content

Commit 5ddf04c

Browse files
Merge pull request #19715 from unoplatform/dev/mazi/googleplay
fix: Include GooglePlay package on Android only
2 parents 87b1996 + 75435aa commit 5ddf04c

3 files changed

+7
-4
lines changed

src/Directory.Build.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@
134134

135135
<_AdjustedOutputProjects>$(_AdjustedOutputProjects);Uno.UI.Foldable.netcoremobile.csproj</_AdjustedOutputProjects>
136136

137+
<_AdjustedOutputProjects>$(_AdjustedOutputProjects);Uno.UI.GooglePlay.netcoremobile.csproj</_AdjustedOutputProjects>
138+
137139
<_AdjustedOutputProjects>$(_AdjustedOutputProjects);Uno.UI.FluentTheme.Tests.csproj</_AdjustedOutputProjects>
138140
<_AdjustedOutputProjects>$(_AdjustedOutputProjects);Uno.UI.FluentTheme.Wasm.csproj</_AdjustedOutputProjects>
139141
<_AdjustedOutputProjects>$(_AdjustedOutputProjects);Uno.UI.FluentTheme.Skia.csproj</_AdjustedOutputProjects>

src/Uno.Sdk/targets/Uno.Implicit.Packages.ProjectSystem.Android.targets

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,9 @@
1616
<_UnoProjectSystemPackageReference Include="Xamarin.AndroidX.Browser" ProjectSystem="true" />
1717
<_UnoProjectSystemPackageReference Include="Xamarin.AndroidX.SwipeRefreshLayout" ProjectSystem="true" />
1818
</ItemGroup>
19+
20+
<ItemGroup Condition="$(UnoFeatures.Contains(';googleplay;'))">
21+
<_UnoProjectSystemPackageReference Include="Uno.WinUI.GooglePlay" ProjectSystem="true" />
22+
</ItemGroup>
23+
1924
</Project>

src/Uno.Sdk/targets/Uno.Implicit.Packages.ProjectSystem.targets

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@
4444
<_UnoProjectSystemPackageReference Include="Uno.WinUI.Foldable" ProjectSystem="true" />
4545
</ItemGroup>
4646

47-
<ItemGroup Condition="$(UnoFeatures.Contains(';googleplay;'))">
48-
<_UnoProjectSystemPackageReference Include="Uno.WinUI.GooglePlay" ProjectSystem="true" />
49-
</ItemGroup>
50-
5147
<ItemGroup Condition="$(UnoFeatures.Contains(';csharpmarkup;'))">
5248
<_UnoProjectSystemPackageReference Include="Uno.WinUI.Markup" ProjectSystem="true" />
5349
<_UnoProjectSystemPackageReference Include="Uno.Extensions.Markup.Generators" ProjectSystem="true" />

0 commit comments

Comments
 (0)