Fixes for `no-bindings` packages.

This commit is contained in:
Jonathan Pobst 2022-08-30 11:03:44 -05:00
Родитель 073c4bb4b1
Коммит 1933edfd4b
4 изменённых файлов: 13 добавлений и 3 удалений

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

@ -42,6 +42,12 @@
<AndroidXNuGetTargetFolders Include="buildTransitive\net6.0-android31.0" />
</ItemGroup>
<!-- Folders that _._ files need to go into for packages without managed libraries -->
<ItemGroup>
<AndroidXNuGetLibFolders Include="lib\monoandroid12.0" />
<AndroidXNuGetLibFolders Include="lib\net6.0-android31.0" />
</ItemGroup>
<ItemGroup>
<!--
must be used before `com.google.`

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

@ -1719,8 +1719,8 @@
{
"groupId": "org.checkerframework",
"artifactId": "checker-compat-qual",
"version": "2.5.3",
"nugetVersion": "2.5.3",
"version": "2.5.5",
"nugetVersion": "2.5.5",
"nugetId": "Xamarin.CheckerFramework.CheckerCompatQual",
"dependencyOnly": false,
"templateSet": "no-bindings"

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

@ -30,13 +30,17 @@
<ItemGroup>
@foreach (var art in @Model.MavenArtifacts)
{
<None Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId).jar" Pack="True" PackagePath="jar\$(NuGetJarName)" Visible="false" />
<None Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId).jar" Pack="True" PackagePath="jar" Visible="false" />
}
</ItemGroup>
<ItemGroup>
<None Include="..\..\source\@(Model.MavenGroupId)\@(Model.Name)\License.md" Pack="true" PackagePath="License.md" />
<None Include="..\..\source\@(Model.MavenGroupId)\@(Model.Name)\External-Dependency-Info.txt" Pack="true" PackagePath="THIRD-PARTY-NOTICES.txt" />
<!-- This is needed because the `lib/{TFM}` folders tell NuGet what frameworks this package supports,
and we aren't writing anything to those folders because we have no managed assemblies (NU5127) -->
<None Include="..\..\templates\no-bindings\_._" Pack="True" PackagePath="@@(AndroidXNuGetLibFolders)" />
</ItemGroup>
</Project>

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