Skip to content

Commit 6900a0f

Browse files
spin off grpc reporter stuff from protocol stuff (#582)
1 parent 495d3c5 commit 6900a0f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Diff for: src/SkyApm.Transport.Grpc.Protocol/SkyApm.Transport.Grpc.Protocol.csproj

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,16 @@
1515

1616
<ItemGroup>
1717
<PackageReference Include="Google.Protobuf" Version="3.21.5" />
18-
<PackageReference Include="Grpc.Net.Client" Version="2.47.0" />
18+
<!-- Grpc.Tools is only used at build-time and has no runtime components. -->
19+
<!-- https://github.com/grpc/grpc/blob/master/src/csharp/BUILD-INTEGRATION.md -->
1920
<PackageReference Include="Grpc.Tools" Version="2.48.0">
2021
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2122
<PrivateAssets>all</PrivateAssets>
2223
</PackageReference>
2324
</ItemGroup>
2425

2526
<ItemGroup>
26-
<Protobuf Include="protocol-v3/**/*.proto" ProtoRoot="protocol-v3" OutputDir="%(RelativePath)generated-v3" CompileOutputs="false" />
27+
<Protobuf Include="protocol-v3/**/*.proto" ProtoRoot="protocol-v3" GrpcServices="Client" OutputDir="generated-v3" GrpcOutputDir="../SkyApm.Transport.Grpc/generated-v3" CompileOutputs="false" />
2728
</ItemGroup>
2829

2930
<PropertyGroup>

Diff for: src/SkyApm.Transport.Grpc/SkyApm.Transport.Grpc.csproj

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
<RootNamespace>SkyApm.Transport.Grpc</RootNamespace>
1414
</PropertyGroup>
1515

16+
<ItemGroup>
17+
<PackageReference Include="Grpc.Net.Client" Version="2.47.0" />
18+
</ItemGroup>
19+
1620
<ItemGroup>
1721
<ProjectReference Include="..\SkyApm.Abstractions\SkyApm.Abstractions.csproj" />
1822
<ProjectReference Include="..\SkyApm.Transport.Grpc.Protocol\SkyApm.Transport.Grpc.Protocol.csproj" />

0 commit comments

Comments
 (0)