Merge pull request #15031 from dotnet-maestro-bot/master-UpdateDependencies
[platform/upstream/coreclr.git] / dependencies.props
1 <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2
3   <!-- NuGet package restore sources. -->
4   <PropertyGroup>
5     <RestoreSources Condition="'$(DotNetBuildOffline)' != 'true'">
6       https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json;
7       https://dotnet.myget.org/F/dotnet-core/api/v3/index.json;
8       https://api.nuget.org/v3/index.json;
9       $(RestoreSources)
10     </RestoreSources>
11   </PropertyGroup>
12
13   <PropertyGroup>
14     <!-- Central place to set the versions of all nuget packages produced in the repo -->
15     <PackageVersion Condition="'$(PackageVersion)' == ''">2.1.0</PackageVersion>
16
17     <!-- Set the boolean below to true to generate packages with stabilized versions -->
18     <StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">false</StabilizePackageVersion>
19     <StableVersion Condition="'$(StabilizePackageVersion)' == 'true' and '$(StableVersion)' == ''">$(PackageVersion)</StableVersion>
20
21     <PreReleaseLabel>preview1</PreReleaseLabel>
22   </PropertyGroup>
23
24   <!-- Source of truth for dependency tooling: the commit hash of the dotnet/versions master branch as of the last auto-upgrade. -->
25   <PropertyGroup>
26     <CoreFxCurrentRef>d2f5f479c3a9beb6fc701a5b4d9722af17ac1e53</CoreFxCurrentRef>
27     <CoreClrCurrentRef>d2f5f479c3a9beb6fc701a5b4d9722af17ac1e53</CoreClrCurrentRef>
28     <BuildToolsCurrentRef>d2f5f479c3a9beb6fc701a5b4d9722af17ac1e53</BuildToolsCurrentRef>
29     <PgoDataCurrentRef>d2f5f479c3a9beb6fc701a5b4d9722af17ac1e53</PgoDataCurrentRef>
30   </PropertyGroup>
31
32   <!-- Tests/infrastructure dependency versions. -->
33   <PropertyGroup>
34     <MicrosoftPrivateCoreFxNETCoreAppPackageVersion>4.5.0-preview1-25915-02</MicrosoftPrivateCoreFxNETCoreAppPackageVersion>
35     <MicrosoftNETCorePlatformsPackageVersion>2.1.0-preview1-25915-02</MicrosoftNETCorePlatformsPackageVersion>
36     <PgoDataPackageVersion>99.99.99-master-20171115-1118</PgoDataPackageVersion>
37     <MicrosoftNETCoreRuntimeCoreCLRPackageVersion>2.1.0-preview1-25915-02</MicrosoftNETCoreRuntimeCoreCLRPackageVersion>
38     <XunitPackageVersion>2.2.0-beta2-build3300</XunitPackageVersion>
39     <XunitConsoleNetcorePackageVersion>1.0.2-prerelease-00177</XunitConsoleNetcorePackageVersion>
40     <XunitPerformanceApiPackageVersion>1.0.0-beta-build0012</XunitPerformanceApiPackageVersion>
41     <MicrosoftDiagnosticsTracingTraceEventPackageVersion>1.0.3-alpha-experimental</MicrosoftDiagnosticsTracingTraceEventPackageVersion>
42     <VCRuntimeVersion>1.2.0</VCRuntimeVersion>
43   </PropertyGroup>
44
45   <!-- Package versions used as toolsets -->
46   <PropertyGroup>
47     <FeedTasksPackage>Microsoft.DotNet.Build.Tasks.Feed</FeedTasksPackage>
48     <FeedTasksPackageVersion>1.0.0-prerelease-02215-01</FeedTasksPackageVersion>
49   </PropertyGroup>
50
51   <!-- Package dependency verification/auto-upgrade configuration. -->
52   <PropertyGroup>
53     <BaseDotNetBuildInfo>build-info/dotnet/</BaseDotNetBuildInfo>
54     <DependencyBranch>master</DependencyBranch>
55     <CurrentRefXmlPath>$(MSBuildThisFileFullPath)</CurrentRefXmlPath>
56   </PropertyGroup>
57
58   <ItemGroup>
59     <RemoteDependencyBuildInfo Include="CoreFx">
60       <BuildInfoPath>$(BaseDotNetBuildInfo)corefx/$(DependencyBranch)</BuildInfoPath>
61       <CurrentRef>$(CoreFxCurrentRef)</CurrentRef>
62     </RemoteDependencyBuildInfo>
63     <RemoteDependencyBuildInfo Include="CoreClr">
64       <BuildInfoPath>$(BaseDotNetBuildInfo)coreclr/$(DependencyBranch)</BuildInfoPath>
65       <CurrentRef>$(CoreClrCurrentRef)</CurrentRef>
66     </RemoteDependencyBuildInfo>
67     <RemoteDependencyBuildInfo Include="BuildTools">
68       <BuildInfoPath>$(BaseDotNetBuildInfo)buildtools/$(DependencyBranch)</BuildInfoPath>
69       <CurrentRef>$(BuildToolsCurrentRef)</CurrentRef>
70     </RemoteDependencyBuildInfo>
71     <RemoteDependencyBuildInfo Include="PgoData">
72       <BuildInfoPath>$(BaseDotNetBuildInfo)optimization/$(DependencyBranch)</BuildInfoPath>
73       <CurrentRef>$(PgoDataCurrentRef)</CurrentRef>
74     </RemoteDependencyBuildInfo>
75
76     <DependencyBuildInfo Include="@(RemoteDependencyBuildInfo)">
77       <RawVersionsBaseUrl>https://raw.githubusercontent.com/dotnet/versions</RawVersionsBaseUrl>
78     </DependencyBuildInfo>
79
80     <XmlUpdateStep Include="CoreFx">
81       <Path>$(MSBuildThisFileFullPath)</Path>
82       <ElementName>MicrosoftPrivateCoreFxNETCoreAppPackageVersion</ElementName>
83       <PackageId>Microsoft.Private.CoreFx.NETCoreApp</PackageId>
84     </XmlUpdateStep>
85     <XmlUpdateStep Include="CoreFx">
86       <Path>$(MSBuildThisFileFullPath)</Path>
87       <ElementName>MicrosoftNETCorePlatformsPackageVersion</ElementName>
88       <PackageId>Microsoft.NETCore.Platforms</PackageId>
89     </XmlUpdateStep>
90     <XmlUpdateStep Include="CoreClr">
91       <Path>$(MSBuildThisFileFullPath)</Path>
92       <ElementName>MicrosoftNETCoreRuntimeCoreCLRPackageVersion</ElementName>
93       <PackageId>Microsoft.NETCore.Runtime.CoreCLR</PackageId>
94     </XmlUpdateStep>
95     <UpdateStep Include="BuildTools">
96       <UpdaterType>File</UpdaterType>
97       <Path>$(MSBuildThisFileDirectory)BuildToolsVersion.txt</Path>
98       <PackageId>Microsoft.DotNet.BuildTools</PackageId>
99     </UpdateStep>
100     <XmlUpdateStep Include="BuildTools">
101        <Path>$(MSBuildThisFileFullPath)</Path>
102        <ElementName>FeedTasksPackageVersion</ElementName>
103        <PackageId>$(FeedTasksPackage)</PackageId>
104     </XmlUpdateStep>
105     <XmlUpdateStep Include="PgoData">
106       <Path>$(MSBuildThisFileFullPath)</Path>
107       <ElementName>PgoDataPackageVersion</ElementName>
108       <PackageId>optimization.PGO.CoreCLR</PackageId>
109     </XmlUpdateStep>
110   </ItemGroup>
111
112   <!-- Set up dependencies on packages that aren't found in a BuildInfo. -->
113   <ItemGroup>
114     <XUnitDependency Include="xunit"/>
115     <XUnitDependency Include="xunit.assert"/>
116     <XUnitDependency Include="xunit.core"/>
117     <XUnitDependency Include="xunit.runner.console"/>
118     <XUnitDependency Include="xunit.runner.msbuild"/>
119     <XUnitDependency Include="xunit.runner.utility"/>
120     <StaticDependency Include="@(XUnitDependency)">
121       <Version>$(XunitPackageVersion)</Version>
122     </StaticDependency>
123
124     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance" />
125     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis" />
126     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.analysis.cli" />
127     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.metrics" />
128     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.run.core" />
129     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.cli" />
130     <XunitPerformanceDependency Include="Microsoft.DotNet.xunit.performance.runner.Windows" />
131     <StaticDependency Include="@(XunitPerformanceDependency)">
132       <Version>1.0.0-alpha-build0040</Version>
133     </StaticDependency>
134
135     <XUnitPerformanceApiDependency Include="xunit.performance.api" />
136     <XUnitPerformanceApiDependency Include="xunit.performance.core" />
137     <XUnitPerformanceApiDependency Include="xunit.performance.execution" />
138     <XUnitPerformanceApiDependency Include="xunit.performance.metrics" />
139     <StaticDependency Include="@(XUnitPerformanceApiDependency)">
140       <Version>$(XunitPerformanceApiPackageVersion)</Version>
141     </StaticDependency>
142
143     <StaticDependency Include="xunit.console.netcore">
144       <Version>$(XunitConsoleNetcorePackageVersion)</Version>
145     </StaticDependency>
146
147     <DependencyBuildInfo Include="@(StaticDependency)">
148       <PackageId>%(Identity)</PackageId>
149       <UpdateStableVersions>true</UpdateStableVersions>
150     </DependencyBuildInfo>
151   </ItemGroup>
152
153   <!-- Override isolated build dependency versions with versions from Repo API. -->
154   <Import Project="$(DotNetPackageVersionPropsPath)"
155           Condition="'$(DotNetPackageVersionPropsPath)' != ''" />
156
157 </Project>