44 lines
1.9 KiB
XML
44 lines
1.9 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net9.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<IsPackable>true</IsPackable>
|
|
<PackageId>Foursat.BackOffice.BFF.NetworkMembership.Protobuf</PackageId>
|
|
<Version>0.0.6</Version>
|
|
<Authors>FourSat</Authors>
|
|
<Company>FourSat</Company>
|
|
<Product>Foursat.BackOffice.BFF.NetworkMembership.Protobuf</Product>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Google.Protobuf" Version="3.23.3" />
|
|
<PackageReference Include="Grpc.Core.Api" Version="2.54.0" />
|
|
<PackageReference Include="Grpc.Tools" Version="2.72.0">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="11.2.2" />
|
|
<PackageReference Include="Google.Api.CommonProtos" Version="2.10.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Protobuf Include="Protos\networkmembership.proto" ProtoRoot="Protos\" GrpcServices="Both" AdditionalImportDirs="..\BackOffice.BFF.Common.Protobuf\Protos"/>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\BackOffice.BFF.Common.Protobuf\BackOffice.BFF.Common.Protobuf.csproj" />
|
|
</ItemGroup>
|
|
<Target Name="PushToFourSat" AfterTargets="Pack">
|
|
<PropertyGroup>
|
|
<NugetPackagePath>$(PackageOutputPath)$(PackageId).$(Version).nupkg</NugetPackagePath>
|
|
<PushCommand>
|
|
dotnet nuget push **/*.nupkg --source https://git.afrino.co/api/packages/FourSat/nuget/index.json --api-key 061a5cb15517c6da39c16cfce8556c55ae104d0d --skip-duplicate
|
|
</PushCommand>
|
|
</PropertyGroup>
|
|
|
|
<Exec Command="$(PushCommand)" />
|
|
</Target>
|
|
</Project>
|