Set universal packaging metadata in Directory.Build.props. (#553)

This commit is contained in:
Jonathan Pobst 2022-05-17 11:20:19 -05:00 коммит произвёл GitHub
Родитель 8a23f14dfa
Коммит 80bc3ce0c5
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
14 изменённых файлов: 7 добавлений и 65 удалений

Просмотреть файл

@ -22,6 +22,13 @@
<!-- Warnings we want to error on: -->
<!-- NU5104: A stable release of a package should not have a prerelease dependency. -->
<WarningsAsErrors>$(WarningsAsErrors);NU5104</WarningsAsErrors>
<!-- Common package metadata -->
<Authors>Microsoft</Authors>
<Owners>Microsoft</Owners>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageProjectUrl>https://aka.ms/androidx</PackageProjectUrl>
</PropertyGroup>
<!-- Folders that .targets files need to go into -->

Просмотреть файл

@ -47,14 +47,9 @@
<Summary>Xamarin.Android bindings for AndroidX - @(Model.Name)</Summary>
<Description>Xamarin.Android bindings for AndroidX - @(Model.Name) artifact=@(Model.MavenGroupId):@(Model.Name) artifact_versioned=@(Model.MavenGroupId):@(Model.Name):@(artifact_version)</Description>
<PackageTags>Xamarin AndroidX Xamarin.AndroidX Support Google @(Model.Name) artifact=@(Model.MavenGroupId):@(Model.Name) artifact_versioned=@(Model.MavenGroupId):@(Model.Name):@(artifact_version)</PackageTags>
<Authors>Microsoft</Authors>
<Owners>Microsoft</Owners>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageProjectUrl>https://go.microsoft.com/fwlink/?linkid=2113238</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIcon>icon.png</PackageIcon>
<PackageVersion>@(Model.NuGetVersion)$(PackageVersionSuffix)</PackageVersion>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<!-- Include symbol files (*.pdb) in the built .nupkg -->
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>

Просмотреть файл

@ -31,14 +31,9 @@
<Summary>Xamarin.Android bindings for AndroidX - appcompat-resources</Summary>
<Description>Xamarin.Android bindings for AndroidX - appcompat-resources</Description>
<PackageTags>Xamarin AndroidX Xamarin.AndroidX Support Google appcompat-resources</PackageTags>
<Authors>Microsoft</Authors>
<Owners>Microsoft</Owners>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageProjectUrl>https://go.microsoft.com/fwlink/?linkid=2113238</PackageProjectUrl>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageIcon>icon.png</PackageIcon>
<PackageVersion>1.1.0.1</PackageVersion>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<!-- Include symbol files (*.pdb) in the built .nupkg -->
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>

Просмотреть файл

@ -32,14 +32,9 @@
<Summary>Xamarin.Android bindings for AndroidX - material extensions</Summary>
<Description>Xamarin.Android bindings for AndroidX - material extensions</Description>
<PackageTags>Xamarin AndroidX Xamarin.AndroidX Support Google material extensions</PackageTags>
<Authors>Microsoft</Authors>
<Owners>Microsoft</Owners>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageProjectUrl>https://go.microsoft.com/fwlink/?linkid=2113238</PackageProjectUrl>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageIcon>icon.png</PackageIcon>
<PackageVersion>1.5.0-rc$(PackageVersionSuffix)</PackageVersion>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<!-- Include symbol files (*.pdb) in the built .nupkg -->
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>

Просмотреть файл

@ -15,14 +15,9 @@
<AssemblyFileVersion>1.0.0.0</AssemblyFileVersion>
<Description>This package provides a set of tools and MSBuild tasks to aid in the migration from Android Support to Android X.</Description>
<Summary>This package provides a set of tools and MSBuild tasks to aid in the migration from Android Support to Android X.</Summary>
<PackageProjectUrl>https://go.microsoft.com/fwlink/?linkid=2099353</PackageProjectUrl>
<PackageIcon>icon.png</PackageIcon>
<PackageTags>Xamarin.AndroidX Xamarin Android Support AndroidX Migration</PackageTags>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<Authors>Microsoft</Authors>
<Owners>Microsoft</Owners>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
</PropertyGroup>
<ItemGroup>

Просмотреть файл

@ -25,12 +25,7 @@
<PackageId>@(Model.NuGetPackageId)</PackageId>
<Title>Google Auto Value Annotations for Xamarin.Android</Title>
<PackageDescription>Xamarin.Android bindings for Google Auto Value Annotations</PackageDescription>
<Authors>Microsoft</Authors>
<Owners>Microsoft</Owners>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageProjectUrl>https://go.microsoft.com/fwlink/?linkid=2091414</PackageProjectUrl>
<PackageLicenseUrl>https://aka.ms/AAdvoow</PackageLicenseUrl>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageVersion>@(Model.NuGetVersion)</PackageVersion>
</PropertyGroup>

Просмотреть файл

@ -25,12 +25,7 @@
<PackageId>@(Model.NuGetPackageId)</PackageId>
<Title>Google Gson bindings for Xamarin.Android</Title>
<PackageDescription>Gson is a library that can be used to convert Java Objects into their JSON representation. It can also be used to convert a JSON string to an equivalent Java object.</PackageDescription>
<Authors>Microsoft</Authors>
<Owners>Microsoft</Owners>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageProjectUrl>https://go.microsoft.com/fwlink/?linkid=865089</PackageProjectUrl>
<PackageLicenseUrl>https://aka.ms/AAdvooz</PackageLicenseUrl>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageVersion>@(Model.NuGetVersion)</PackageVersion>
</PropertyGroup>

Просмотреть файл

@ -22,12 +22,7 @@
</PropertyGroup>
<PropertyGroup>
<Authors>Microsoft</Authors>
<Owners>Microsoft</Owners>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageProjectUrl>https://go.microsoft.com/fwlink/?linkid=865435</PackageProjectUrl>
<PackageLicenseUrl>https://go.microsoft.com/fwlink/?linkid=865373</PackageLicenseUrl>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
@foreach (var art in @Model.MavenArtifacts)
{

Просмотреть файл

@ -46,12 +46,7 @@
<Summary>Xamarin.Android binding for @(friendlyName)</Summary>
<Description>Xamarin.Android binding for @(friendlyName)</Description>
<PackageTags>Xamarin Kotlin Xamarin.Kotlin</PackageTags>
<Authors>Microsoft</Authors>
<Owners>Microsoft</Owners>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageProjectUrl>https://go.microsoft.com/fwlink/?linkid=864997</PackageProjectUrl>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
</PropertyGroup>
<ItemGroup>

Просмотреть файл

@ -26,12 +26,7 @@
<PackageId>@(Model.NuGetPackageId)</PackageId>
<Title>@(Model.NuGetPackageId) reference library for Xamarin.Android</Title>
<PackageDescription>Xamarin.Android binding for @(Model.NuGetPackageId.Replace("Xamarin", ""))</PackageDescription>
<Authors>Microsoft</Authors>
<Owners>Microsoft</Owners>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageProjectUrl>https://go.microsoft.com/fwlink/?linkid=2083771</PackageProjectUrl>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageVersion>@(Model.NuGetVersion)</PackageVersion>
</PropertyGroup>

Просмотреть файл

@ -10,11 +10,6 @@
<PackageVersion>@Model.NuGetVersion</PackageVersion>
<PackageDescription>@Model.NuGetPackageId</PackageDescription>
<IncludeBuildOutput>false</IncludeBuildOutput>
<Authors>Microsoft</Authors>
<Owners>Microsoft</Owners>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageProjectUrl>https://aka.ms/androidx</PackageProjectUrl>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
@switch(@Model.NuGetPackageId)
{

Просмотреть файл

@ -33,12 +33,7 @@
<PackageId>@(Model.NuGetPackageId)</PackageId>
<Title>@(friendlyName) for Xamarin.Android</Title>
<PackageDescription>Xamarin.Android binding for @(friendlyName)</PackageDescription>
<Authors>Microsoft</Authors>
<Owners>Microsoft</Owners>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageProjectUrl>https://go.microsoft.com/fwlink/?linkid=2084008</PackageProjectUrl>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageVersion>@(Model.NuGetVersion)</PackageVersion>
</PropertyGroup>

Просмотреть файл

@ -35,12 +35,7 @@
<PackageId>@(Model.NuGetPackageId)</PackageId>
<Title>@(friendlyName) for Xamarin.Android</Title>
<PackageDescription>Xamarin.Android binding for @(friendlyName)</PackageDescription>
<Authors>Microsoft</Authors>
<Owners>Microsoft</Owners>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageProjectUrl>https://go.microsoft.com/fwlink/?linkid=2083771</PackageProjectUrl>
<PackageLicenseUrl>https://aka.ms/AAdvvt0</PackageLicenseUrl>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageVersion>@(Model.NuGetVersion)</PackageVersion>
</PropertyGroup>

Просмотреть файл

@ -33,12 +33,7 @@
<PackageId>@(Model.NuGetPackageId)</PackageId>
<Title>@(friendlyName) for Xamarin.Android</Title>
<PackageDescription>Xamarin.Android binding for @(friendlyName)</PackageDescription>
<Authors>Microsoft</Authors>
<Owners>Microsoft</Owners>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageProjectUrl>https://go.microsoft.com/fwlink/?linkid=2084008</PackageProjectUrl>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageVersion>@(Model.NuGetVersion)</PackageVersion>
</PropertyGroup>