Skip to content

Commit

Permalink
NuGet SBOM generation
Browse files Browse the repository at this point in the history
  • Loading branch information
moljac committed Nov 21, 2024
1 parent 3c21f46 commit f3bb254
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 f3bb254

Please sign in to comment.