forked from googleapis/gapic-generator-csharp
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Adopt centralized package management
(And put common properties into a Directory.Build.props file at the same time.)
- Loading branch information
Showing
11 changed files
with
90 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<Project> | ||
|
||
<PropertyGroup> | ||
<!-- | ||
- Target net6.0 for everything, even if netstandard2.1 would | ||
- be fine for library projects. | ||
--> | ||
<TargetFramework>net6.0</TargetFramework> | ||
|
||
<!-- Common build properties --> | ||
<LangVersion>latest</LangVersion> | ||
<TreatWarningsAsErrors>True</TreatWarningsAsErrors> | ||
|
||
<!-- Allow Directory.Packages.props to do its magic --> | ||
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<Project> | ||
<ItemGroup> | ||
<!-- Test-oriented packages --> | ||
<PackageVersion Include="xunit" Version="2.9.0" /> | ||
<PackageVersion Include="xunit.assert" Version="2.9.0" /> | ||
<PackageVersion Include="xunit.core" Version="2.9.0" /> | ||
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" /> | ||
<PackageVersion Include="Xunit.SkippableFact" Version="1.4.13" /> | ||
<PackageVersion Include="Xunit.Combinatorial" Version="1.6.24" /> | ||
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.0" /> | ||
<PackageVersion Include="NSubstitute" Version="5.1.0" /> | ||
|
||
<!-- Google/gRPC packages --> | ||
<PackageVersion Include="Google.Api.Gax" Version="4.8.0" /> | ||
<PackageVersion Include="Google.Api.Gax.Grpc" Version="4.8.0" /> | ||
<PackageVersion Include="Google.Api.Gax.Testing" Version="4.8.0" /> | ||
<PackageVersion Include="Google.Apis" Version="1.68.0" /> | ||
<PackageVersion Include="Google.Cloud.Iam.V1" Version="3.3.0" /> | ||
<PackageVersion Include="Google.Cloud.Location" Version="2.3.0" /> | ||
<PackageVersion Include="Google.LongRunning" Version="3.3.0" /> | ||
|
||
<!-- Microsoft/System packages --> | ||
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" /> | ||
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.11.0" /> | ||
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.4" /> | ||
<PackageVersion Include="System.Collections.Immutable" Version="8.0.0" /> | ||
<PackageVersion Include="System.Linq.Async" Version="6.0.1" /> | ||
|
||
<!-- Other third party packages --> | ||
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" /> | ||
<PackageVersion Include="CommandLineParser" Version="2.9.1" /> | ||
<PackageVersion Include="YamlDotNet" Version="16.1.0" /> | ||
|
||
<!-- Build-oriented packages --> | ||
<PackageVersion Include="ConfigureAwaitChecker.Analyzer" Version="5.0.0" /> | ||
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" /> | ||
</ItemGroup> | ||
</Project> |
13 changes: 4 additions & 9 deletions
13
Google.Api.Generator.IntegrationTests/Google.Api.Generator.IntegrationTests.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 4 additions & 8 deletions
12
Google.Api.Generator.Rest.Tests/Google.Api.Generator.Rest.Tests.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 1 addition & 6 deletions
7
Google.Api.Generator.Testing/Google.Api.Generator.Testing.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 4 additions & 11 deletions
15
Google.Api.Generator.Tests/Google.Api.Generator.Tests.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<Project> | ||
<!-- | ||
- This file is present to avoid using the generator's | ||
- Directory.Build.props when building the generated test projects. | ||
--> | ||
</Project> |
15 changes: 4 additions & 11 deletions
15
Google.Api.Generator.Utils.Tests/Google.Api.Generator.Utils.Tests.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 3 additions & 8 deletions
11
Google.Api.Generator.Utils/Google.Api.Generator.Utils.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>netstandard2.1</TargetFramework> | ||
<LangVersion>latest</LangVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.11.0" /> | ||
<PackageReference Include="Google.Api.Gax" Version="4.8.0" /> | ||
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.4" /> | ||
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" /> | ||
<PackageReference Include="Google.Api.Gax" /> | ||
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters