Skip to content

Commit

Permalink
Farfetch#556 Leverage framework to provide dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thompson-tomo committed Apr 22, 2024
1 parent 16f7851 commit 774cd68
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/KafkaFlow.Abstractions/KafkaFlow.Abstractions.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<RootNamespace>KafkaFlow</RootNamespace>
<PackageId>KafkaFlow.Abstractions</PackageId>
<Description>Contains all KafkaFlow extendable interfaces</Description>
</PropertyGroup>

<ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'== 'netStandard2.0'">
<PackageReference Include="System.Memory" Version="4.5.5" />
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.4" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<RootNamespace>KafkaFlow</RootNamespace>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\KafkaFlow.Abstractions\KafkaFlow.Abstractions.csproj" />
</ItemGroup>

<ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'== 'netStandard2.0'">
<PackageReference Include="System.Text.Json" Version="6.0.8" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<RootNamespace>KafkaFlow</RootNamespace>
<PackageId>KafkaFlow.LogHandler.Microsoft</PackageId>
<Description>LogHandler implementation leveraging Microsoft Logging framework.</Description>
Expand All @@ -11,9 +11,12 @@
<ProjectReference Include="..\KafkaFlow.Abstractions\KafkaFlow.Abstractions.csproj" />
</ItemGroup>

<ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'== 'netStandard2.0'">
<PackageReference Include="System.Text.Json" Version="6.0.8" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<PackageId>KafkaFlow.Serializer.JsonCore</PackageId>
<Description>JSON implementation for KafkaFlow serializer middleware using System.Text.Json</Description>
<RootNamespace>KafkaFlow.Serializer</RootNamespace>
</PropertyGroup>

<ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'== 'netStandard2.0'">
<PackageReference Include="System.Text.Json" Version="6.0.8" />
</ItemGroup>

Expand Down
6 changes: 4 additions & 2 deletions src/KafkaFlow/KafkaFlow.csproj
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<PackageId>KafkaFlow</PackageId>
<Description>KafkaFlow main package</Description>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Confluent.Kafka" Version="2.1.1" />
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" />
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="3.0.0" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'== 'netStandard2.0'">
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" />
<PackageReference Include="System.Threading.Channels" Version="6.0.0" />
</ItemGroup>

Expand Down

0 comments on commit 774cd68

Please sign in to comment.