-
Notifications
You must be signed in to change notification settings - Fork 2
/
Directory.Build.props
27 lines (22 loc) · 1.21 KB
/
Directory.Build.props
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
<Project>
<PropertyGroup>
<LangVersion>preview</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Deterministic>true</Deterministic>
<EmbedAllSources>true</EmbedAllSources>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>preview-All</AnalysisLevel>
<Authors>LeanCode</Authors>
<Company>LeanCode</Company>
<Copyright>Copyright 2021-2022 LeanCode Sp. z o.o.</Copyright>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/leancodepl/contractsgenerator</PackageProjectUrl>
<RepositoryUrl>https://github.com/leancodepl/contractsgenerator</RepositoryUrl>
<RepositoryCommit Condition="'$(GITHUB_SHA)' != ''">$(GITHUB_SHA)</RepositoryCommit>
<Version Condition="$(Version) == '' And '$(BUILD_VERSION)' != ''">$(BUILD_VERSION)</Version>
<Version Condition="$(Version) == '' And '$(BUILD_VERSION)' == ''">0.0.1</Version>
<InformationalVersion Condition="'$(RepositoryCommit)' != ''">$(Version)+$(RepositoryCommit)</InformationalVersion>
<InformationalVersion Condition="'$(RepositoryCommit)' == ''">$(Version)+local</InformationalVersion>
</PropertyGroup>
</Project>