Skip to content

Commit

Permalink
Merge pull request #1052 from dotnet/mu-20241120-nuget-sbom
Browse files Browse the repository at this point in the history
Manual updates 20241120 NuGet SBOM generation
  • Loading branch information
moljac authored Nov 22, 2024
2 parents 3c21f46 + f3bb254 commit 0e43932
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions source/AndroidXProject.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,19 @@
}
</ItemGroup>

<PropertyGroup>
<GenerateSBOM>true</GenerateSBOM>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Sbom.Targets" Version="3.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>



@{ await IncludeAsync("source/_PackageLevelCustomizations.cshtml", Model); }

</Project>

0 comments on commit 0e43932

Please sign in to comment.