-
Notifications
You must be signed in to change notification settings - Fork 757
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4bb5ae0
commit 61041ae
Showing
5 changed files
with
94 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
using System.Reflection; | ||
using Uno.Foundation.Extensibility; | ||
using Uno.UI.Xaml.Media.Imaging.Svg; | ||
|
||
[assembly: AssemblyMetadata("IsTrimmable", "True")] | ||
|
||
[assembly: ApiExtension(typeof(IInAppReviewExtension), typeof(InAppReviewExtension))] |
77 changes: 77 additions & 0 deletions
77
src/AddIns/Uno.UI.GooglePlay/Uno.UI.GooglePlay.netcoremobile.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>$(NetAndroidPreviousAndCurrent)</TargetFrameworks> | ||
</PropertyGroup> | ||
|
||
<Import Project="../../targetframework-override.props" /> | ||
|
||
<PropertyGroup> | ||
<NoWarn>$(NoWarn);Uno0001</NoWarn> | ||
<Deterministic>true</Deterministic> | ||
<Nullable>enable</Nullable> | ||
<AssemblyName>Uno.UI.GooglePlay</AssemblyName> | ||
<RootNamespace>Uno.UI.GooglePlay</RootNamespace> | ||
|
||
<DefineConstants Condition="'$(UNO_UWP_BUILD)'!='true'">$(DefineConstants);HAS_SKOTTIE</DefineConstants> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<None Remove="buildTransitive\*.GooglePlay.targets" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Content Include="buildTransitive\*.GooglePlay.targets"> | ||
<PackagePath>build</PackagePath> | ||
<Pack>true</Pack> | ||
</Content> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\Uno.UI\Uno.UI.netcoremobile.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Newtonsoft.Json" /> | ||
|
||
<PackageReference Include="SkiaSharp.Skottie" /> | ||
|
||
<PackageReference Include="SkiaSharp.Views.Uno" Condition="'$(UNO_UWP_BUILD)'=='true'" /> | ||
<PackageReference Include="SkiaSharp.Views.Uno.WinUI" Condition="'$(UNO_UWP_BUILD)'!='true'" /> | ||
|
||
<!-- Explicitly included to remove all assets from Uno dependencies coming from SkiaSharp.Views.* --> | ||
<PackageReference Include="Uno.UI" Version="4.4.5" ExcludeAssets="all" IncludeAssets="none" PrivateAssets="all" Condition="'$(UNO_UWP_BUILD)'=='true'"/> | ||
<PackageReference Include="Uno.WinUI" Version="4.4.5" ExcludeAssets="all" IncludeAssets="none" PrivateAssets="all" Condition="'$(UNO_UWP_BUILD)'!='true'" /> | ||
</ItemGroup> | ||
|
||
<Import Project="..\..\SourceGenerators\Uno.UI.SourceGenerators\Content\Uno.UI.SourceGenerators.props" /> | ||
|
||
<Target Name="_CleanupReferences" BeforeTargets="CoreCompile"> | ||
<!-- Required when building under VS to remove analyzer references coming from the Uno.UI/Uno.WinUI transitive references --> | ||
<ItemGroup> | ||
<Analyzer Remove="@(Analyzer)" Condition="'%(Analyzer.NugetPackageId)'=='Uno.UI'"/> | ||
<Analyzer Remove="@(Analyzer)" Condition="'%(Analyzer.NugetPackageId)'=='Uno.WinUI'"/> | ||
</ItemGroup> | ||
</Target> | ||
|
||
<Target Name="_UnoToolkitOverrideNuget" AfterTargets="AfterBuild" DependsOnTargets="BuiltProjectOutputGroup" Condition="'$(UnoNugetOverrideVersion)'!=''"> | ||
|
||
<PropertyGroup> | ||
<_OverrideTargetFramework>$(TargetFramework)</_OverrideTargetFramework> | ||
|
||
<!-- Current nuget publishing uses netX.0-android30.0 --> | ||
<_OverrideTargetFramework Condition="$(_OverrideTargetFramework.EndsWith('.0-android'))">$(_OverrideTargetFramework)30.0</_OverrideTargetFramework> | ||
|
||
<_TargetNugetFolder>$(NuGetPackageRoot)\uno.ui.GooglePlay\$(UnoNugetOverrideVersion)\lib\$(_OverrideTargetFramework)</_TargetNugetFolder> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<_OutputFiles Include="$(TargetDir)**" /> | ||
</ItemGroup> | ||
<MakeDir Directories="$(_TargetNugetFolder)" /> | ||
|
||
<Message Importance="high" Text="OVERRIDING NUGET PACKAGE CACHE: $(_TargetNugetFolder)" /> | ||
|
||
<Copy SourceFiles="@(_OutputFiles)" DestinationFiles="@(_OutputFiles->'$(_TargetNugetFolder)\%(RecursiveDir)%(Filename)%(Extension)')" /> | ||
<Copy SourceFiles="@(_OutputFilesPDB)" DestinationFiles="@(_OutputFilesPDB->'$(_TargetNugetFolder)\%(RecursiveDir)%(Filename).pdb')" /> | ||
</Target> | ||
</Project> |
8 changes: 8 additions & 0 deletions
8
src/AddIns/Uno.UI.GooglePlay/buildTransitive/Uno.WinUI.GooglePlay.targets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
||
<ItemGroup> | ||
<UnoRuntimeEnabledPackage Include="Uno.UI.GooglePlay" PackageBasePath="$(MSBuildThisFileDirectory)" Condition="'$(MSBuildThisFile)'=='uno.ui.googleplay.targets'" /> | ||
<UnoRuntimeEnabledPackage Include="Uno.WinUI.GooglePlay" PackageBasePath="$(MSBuildThisFileDirectory)" Condition="'$(MSBuildThisFile)'=='uno.winui.googleplay.targets'" /> | ||
</ItemGroup> | ||
</Project> |
2 changes: 1 addition & 1 deletion
2
src/Uno.UI.BindingHelper.Android/Uno.UI.BindingHelper.Android.netcoremobile.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters