|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 | <PropertyGroup> |
3 | | - <TargetFramework>net8.0-android34.0</TargetFramework> |
4 | | - <SupportedOSPlatformVersion>21.0</SupportedOSPlatformVersion> |
| 3 | + <TargetFramework>net10.0-android</TargetFramework> |
| 4 | + <SupportedOSPlatformVersion>26.0</SupportedOSPlatformVersion> |
5 | 5 | <Nullable>enable</Nullable> |
6 | 6 | <ImplicitUsings>enable</ImplicitUsings> |
7 | 7 | <LangVersion>latest</LangVersion> |
| 8 | + |
| 9 | + <!-- Pack settings --> |
8 | 10 | <GeneratePackageOnBuild>true</GeneratePackageOnBuild> |
9 | 11 | <PackageId>GeneralUpdate.Avalonia.Android</PackageId> |
10 | | - <Description>UI-free, Avalonia-compatible Android auto-update core library.</Description> |
| 12 | + <Version>1.0.0</Version> |
| 13 | + <Description>UI-free, Avalonia-compatible Android auto-update core library. Provides version comparison, resumable APK download with SHA256 verification, and APK installation orchestration.</Description> |
11 | 14 | <Authors>GeneralLibrary</Authors> |
| 15 | + <Copyright>Copyright (c) GeneralLibrary</Copyright> |
| 16 | + <PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> |
| 17 | + <PackageProjectUrl>https://github.com/GeneralLibrary/GeneralUpdate.Avalonia</PackageProjectUrl> |
12 | 18 | <RepositoryUrl>https://github.com/GeneralLibrary/GeneralUpdate.Avalonia</RepositoryUrl> |
13 | | - <PackageTags>avalonia;android;update;apk;autoupdate</PackageTags> |
| 19 | + <RepositoryType>git</RepositoryType> |
| 20 | + <PackageTags>avalonia;android;update;apk;autoupdate;generalupdate</PackageTags> |
| 21 | + <PackageReadmeFile>README.md</PackageReadmeFile> |
| 22 | + <PackageReleaseNotes>https://github.com/GeneralLibrary/GeneralUpdate.Avalonia/releases</PackageReleaseNotes> |
| 23 | + |
| 24 | + <!-- SourceLink support --> |
| 25 | + <PublishRepositoryUrl>true</PublishRepositoryUrl> |
| 26 | + <EmbedUntrackedSources>true</EmbedUntrackedSources> |
| 27 | + <IncludeSymbols>true</IncludeSymbols> |
| 28 | + <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
| 29 | + |
| 30 | + <!-- Deterministic build for CI --> |
| 31 | + <ContinuousIntegrationBuild Condition="'$(CI)' == 'true'">true</ContinuousIntegrationBuild> |
14 | 32 | </PropertyGroup> |
15 | 33 |
|
16 | 34 | <ItemGroup> |
| 35 | + <PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0"> |
| 36 | + <PrivateAssets>all</PrivateAssets> |
| 37 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
| 38 | + </PackageReference> |
17 | 39 | <PackageReference Include="Xamarin.AndroidX.Core" Version="1.13.1.2" /> |
18 | 40 | </ItemGroup> |
| 41 | + |
| 42 | + <!-- Include README in the package --> |
| 43 | + <ItemGroup> |
| 44 | + <None Include="..\..\README.md" Pack="true" PackagePath="\" /> |
| 45 | + </ItemGroup> |
19 | 46 | </Project> |
0 commit comments