summaryrefslogtreecommitdiff
path: root/src/Task/AggregateConfigBuildTask.csproj
blob: e2413bf1d080b35020e76c2bdfa62e63284154be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<Project Sdk="Microsoft.NET.Sdk">

    <PropertyGroup>
        <TargetFramework>netstandard2.0</TargetFramework>
        <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
        <PublishRepositoryUrl>true</PublishRepositoryUrl>
        <EmbedUntrackedSources>true</EmbedUntrackedSources>
        <SourceLinkCreate>true</SourceLinkCreate>
        <NoWarn>NU5100,CA1031,CA1819,CA1027</NoWarn>
    </PropertyGroup>

    <PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
        <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
    </PropertyGroup>

    <PropertyGroup>
        <PackageId>AggregateConfigBuildTask</PackageId>
        <Version Condition=" '$(Version)' == '' ">0.0.1</Version>
        <Authors>Billy Richardson</Authors>
        <Owner>richardsondev</Owner>
        <Company>https://richardson.software</Company>
        <Description>Merges configuration files at build time, allowing them to be embedded as resources for streamlined deployment and access.</Description>
        <PackageTags>yaml, json, arm, build, configuration, msbuild</PackageTags>
        <PackageLicenseExpression>MIT</PackageLicenseExpression>
        <RepositoryUrl>https://github.com/richardsondev/AggregateConfigBuildTask</RepositoryUrl>
        <PackageProjectUrl>https://github.com/richardsondev/AggregateConfigBuildTask</PackageProjectUrl>
        <PackageReleaseNotes>https://github.com/richardsondev/AggregateConfigBuildTask/releases/tag/v$(Version)</PackageReleaseNotes>
        <PackageReadmeFile>docs/README.md</PackageReadmeFile>
        <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
        <IncludeSymbols>true</IncludeSymbols>
        <SymbolPackageFormat>snupkg</SymbolPackageFormat>
        <NoPackageAnalysis>true</NoPackageAnalysis>
        <BuildOutputTargetFolder>tasks</BuildOutputTargetFolder>
        <PackageIcon>icon.png</PackageIcon>
    </PropertyGroup>

    <!-- Build time packages-->
    <ItemGroup>
        <PackageReference Include="Microsoft.Build.Framework" PrivateAssets="all" />
        <PackageReference Include="Microsoft.Build.Utilities.Core" PrivateAssets="all" />
        <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="all" />
    </ItemGroup>

    <!-- Runtime packages -->
    <ItemGroup>
        <PackageReference Include="Microsoft.Bcl.AsyncInterfaces" PrivateAssets="all" />
        <PackageReference Include="System.IO.Pipelines" PrivateAssets="all" />
        <PackageReference Include="System.Text.Encodings.Web" PrivateAssets="all" />
        <PackageReference Include="System.Text.Json" PrivateAssets="all" />
        <PackageReference Include="YamlDotNet" PrivateAssets="all" GeneratePathProperty="true" />
        <PackageReference Include="YamlDotNet.System.Text.Json" PrivateAssets="all" />
    </ItemGroup>

    <ItemGroup>
        <None Include="$(OutputPath)/Microsoft.Bcl.AsyncInterfaces.dll" Pack="true" PackagePath="/tasks/netstandard2.0/" />
        <None Include="$(OutputPath)/System.IO.Pipelines.dll" Pack="true" PackagePath="/tasks/netstandard2.0/" />
        <None Include="$(OutputPath)/System.Text.Encodings.Web.dll" Pack="true" PackagePath="/tasks/netstandard2.0/" />
        <None Include="$(OutputPath)/System.Text.Json.dll" Pack="true" PackagePath="/tasks/netstandard2.0/" />
        <None Include="$(OutputPath)/YamlDotNet.dll" Pack="true" PackagePath="/tasks/netstandard2.0/" />
        <None Include="$(OutputPath)/YamlDotNet.System.Text.Json.dll" Pack="true" PackagePath="/tasks/netstandard2.0/" />
        <None Include="build/AggregateConfigBuildTask.targets" Pack="true" PackagePath="/build/AggregateConfigBuildTask.targets" />
        <None Include="../ThirdPartyNotices.txt" Pack="true" PackagePath="/" />
        <None Include="../../LICENSE" Pack="true" PackagePath="/licenses/">
            <Link>licenses/LICENSE</Link>
        </None>
        <None Include="../../README.md" Pack="true" PackagePath="/docs/" />
        <None Include="../../image/icon/icon_128.png" Pack="true" PackagePath="/icon.png" />
        <None Include="../../sbom-*.json" Pack="true" PackagePath="/sbom/" Condition="Exists('../../sbom-*.json')" />
    </ItemGroup>

</Project>