Skip to content

Commit

Permalink
#1553 optimise dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thompson-tomo committed Apr 30, 2024
1 parent b50aed2 commit 19c88d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 6 additions & 3 deletions src/KubernetesClient.Classic/KubernetesClient.Classic.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net48</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net48;netstandard2.1;net6.0</TargetFrameworks>
<RootNamespace>k8s</RootNamespace>
</PropertyGroup>

Expand All @@ -12,6 +12,9 @@
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0" />
<PackageReference Include="Fractions" Version="7.3.0" />
<PackageReference Include="YamlDotNet" Version="15.1.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net48' or '$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'netstandard2.1'">
<PackageReference Include="System.Text.Json" Version="7.0.3" />
</ItemGroup>

Expand Down Expand Up @@ -116,8 +119,8 @@
<Compile Include="..\KubernetesClient\Authentication\TokenCredentials.cs" />
</ItemGroup>

<ItemGroup>
<Reference Include="System.Net.Http" Condition="'$(TargetFramework)' == 'net48'" />
<ItemGroup Condition="'$(TargetFramework)' == 'net48'">
<Reference Include="System.Net.Http" />
</ItemGroup>

<ItemGroup>
Expand Down
1 change: 0 additions & 1 deletion src/KubernetesClient/KubernetesClient.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="7.0.0" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="7.1.2" />
<PackageReference Include="IdentityModel.OidcClient" Version="5.2.1" />
<PackageReference Include="Fractions" Version="7.3.0" />
Expand Down

0 comments on commit 19c88d1

Please sign in to comment.