Skip to content

Commit

Permalink
NuGet
Browse files Browse the repository at this point in the history
  • Loading branch information
neuecc committed Mar 18, 2024
1 parent 165f6d2 commit c7e8bce
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions src/Claudia.Bedrock/Claudia.Bedrock.csproj
Original file line number Diff line number Diff line change
@@ -1,18 +1,43 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFrameworks>netstandard2.1;net6.0;net8.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>12</LangVersion>
<RootNamespace>Claudia</RootNamespace>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>1701;1702;1591;1573</NoWarn>

<!-- NuGet Packaging -->
<PackageTags>ai;</PackageTags>
<Description>AWS Bedrock support for Claudia.</Description>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\Icon.png" Pack="true" PackagePath="/" />
<EmbeddedResource Include="..\..\LICENSE" />

<PackageReference Include="AWSSDK.BedrockRuntime" Version="3.7.301.47" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Claudia\Claudia.csproj" />
<ProjectReference Include="..\Claudia\Claudia.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="PolySharp" Version="1.13.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup Condition="$(TargetFramework) == 'netstandard2.1'">
<PackageReference Include="System.Threading.Channels" Version="8.0.0" />
</ItemGroup>

<ItemGroup Condition="$(TargetFramework) == 'net6.0' Or $(TargetFramework) == 'netstandard2.1'">
<PackageReference Include="System.Text.Json" Version="8.0.0" />
</ItemGroup>
</Project>

0 comments on commit c7e8bce

Please sign in to comment.