Skip to content

Commit

Permalink
Bump the microsoft group with 6 updates (#208)
Browse files Browse the repository at this point in the history
* Bump the microsoft group with 6 updates

Bumps the microsoft group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [Microsoft.Kiota.Abstractions](https://github.com/microsoft/kiota-dotnet) | `1.16.0` | `1.16.1` |
| [Microsoft.Kiota.Http.HttpClientLibrary](https://github.com/microsoft/kiota-dotnet) | `1.16.0` | `1.16.1` |
| [Microsoft.Kiota.Serialization.Form](https://github.com/microsoft/kiota-dotnet) | `1.16.0` | `1.16.1` |
| [Microsoft.Kiota.Serialization.Json](https://github.com/microsoft/kiota-dotnet) | `1.16.0` | `1.16.1` |
| [Microsoft.Kiota.Serialization.Multipart](https://github.com/microsoft/kiota-dotnet) | `1.16.0` | `1.16.1` |
| [Microsoft.Kiota.Serialization.Text](https://github.com/microsoft/kiota-dotnet) | `1.16.0` | `1.16.1` |


Updates `Microsoft.Kiota.Abstractions` from 1.16.0 to 1.16.1
- [Release notes](https://github.com/microsoft/kiota-dotnet/releases)
- [Changelog](https://github.com/microsoft/kiota-dotnet/blob/main/CHANGELOG.md)
- [Commits](microsoft/kiota-dotnet@v1.16.0...v1.16.1)

Updates `Microsoft.Kiota.Abstractions` from 1.16.0 to 1.16.1
- [Release notes](https://github.com/microsoft/kiota-dotnet/releases)
- [Changelog](https://github.com/microsoft/kiota-dotnet/blob/main/CHANGELOG.md)
- [Commits](microsoft/kiota-dotnet@v1.16.0...v1.16.1)

Updates `Microsoft.Kiota.Http.HttpClientLibrary` from 1.16.0 to 1.16.1
- [Release notes](https://github.com/microsoft/kiota-dotnet/releases)
- [Changelog](https://github.com/microsoft/kiota-dotnet/blob/main/CHANGELOG.md)
- [Commits](microsoft/kiota-dotnet@v1.16.0...v1.16.1)

Updates `Microsoft.Kiota.Abstractions` from 1.16.0 to 1.16.1
- [Release notes](https://github.com/microsoft/kiota-dotnet/releases)
- [Changelog](https://github.com/microsoft/kiota-dotnet/blob/main/CHANGELOG.md)
- [Commits](microsoft/kiota-dotnet@v1.16.0...v1.16.1)

Updates `Microsoft.Kiota.Serialization.Form` from 1.16.0 to 1.16.1
- [Release notes](https://github.com/microsoft/kiota-dotnet/releases)
- [Changelog](https://github.com/microsoft/kiota-dotnet/blob/main/CHANGELOG.md)
- [Commits](microsoft/kiota-dotnet@v1.16.0...v1.16.1)

Updates `Microsoft.Kiota.Abstractions` from 1.16.0 to 1.16.1
- [Release notes](https://github.com/microsoft/kiota-dotnet/releases)
- [Changelog](https://github.com/microsoft/kiota-dotnet/blob/main/CHANGELOG.md)
- [Commits](microsoft/kiota-dotnet@v1.16.0...v1.16.1)

Updates `Microsoft.Kiota.Serialization.Json` from 1.16.0 to 1.16.1
- [Release notes](https://github.com/microsoft/kiota-dotnet/releases)
- [Changelog](https://github.com/microsoft/kiota-dotnet/blob/main/CHANGELOG.md)
- [Commits](microsoft/kiota-dotnet@v1.16.0...v1.16.1)

Updates `Microsoft.Kiota.Abstractions` from 1.16.0 to 1.16.1
- [Release notes](https://github.com/microsoft/kiota-dotnet/releases)
- [Changelog](https://github.com/microsoft/kiota-dotnet/blob/main/CHANGELOG.md)
- [Commits](microsoft/kiota-dotnet@v1.16.0...v1.16.1)

Updates `Microsoft.Kiota.Serialization.Multipart` from 1.16.0 to 1.16.1
- [Release notes](https://github.com/microsoft/kiota-dotnet/releases)
- [Changelog](https://github.com/microsoft/kiota-dotnet/blob/main/CHANGELOG.md)
- [Commits](microsoft/kiota-dotnet@v1.16.0...v1.16.1)

Updates `Microsoft.Kiota.Abstractions` from 1.16.0 to 1.16.1
- [Release notes](https://github.com/microsoft/kiota-dotnet/releases)
- [Changelog](https://github.com/microsoft/kiota-dotnet/blob/main/CHANGELOG.md)
- [Commits](microsoft/kiota-dotnet@v1.16.0...v1.16.1)

Updates `Microsoft.Kiota.Serialization.Text` from 1.16.0 to 1.16.1
- [Release notes](https://github.com/microsoft/kiota-dotnet/releases)
- [Changelog](https://github.com/microsoft/kiota-dotnet/blob/main/CHANGELOG.md)
- [Commits](microsoft/kiota-dotnet@v1.16.0...v1.16.1)

---
updated-dependencies:
- dependency-name: Microsoft.Kiota.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: microsoft
- dependency-name: Microsoft.Kiota.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: microsoft
- dependency-name: Microsoft.Kiota.Http.HttpClientLibrary
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: microsoft
- dependency-name: Microsoft.Kiota.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: microsoft
- dependency-name: Microsoft.Kiota.Serialization.Form
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: microsoft
- dependency-name: Microsoft.Kiota.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: microsoft
- dependency-name: Microsoft.Kiota.Serialization.Json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: microsoft
- dependency-name: Microsoft.Kiota.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: microsoft
- dependency-name: Microsoft.Kiota.Serialization.Multipart
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: microsoft
- dependency-name: Microsoft.Kiota.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: microsoft
- dependency-name: Microsoft.Kiota.Serialization.Text
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: microsoft
...

Signed-off-by: dependabot[bot] <[email protected]>

* Rollback Microsoft packages changes

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jan Trejbal <[email protected]>
  • Loading branch information
dependabot[bot] and trejjam authored Dec 20, 2024
1 parent ffdd317 commit ecef5b3
Showing 1 changed file with 104 additions and 104 deletions.
208 changes: 104 additions & 104 deletions src/Apple.AppStoreConnect/Apple.AppStoreConnect.csproj
Original file line number Diff line number Diff line change
@@ -1,104 +1,104 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<LangVersion>13.0</LangVersion>
<Nullable>enable</Nullable>
<PackageLicense>MIT</PackageLicense>
<RepositoryUrl>https://github.com/aviationexam/apple-app-store-connect-api</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<ProjectName>AppStoreConnect</ProjectName>
<PackageId>Aviationexam.Apple.AppStoreConnect</PackageId>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<CompilerGeneratedFilesOutputPath>..\..\GeneratedFiles\AppStoreConnect</CompilerGeneratedFilesOutputPath>
</PropertyGroup>

<PropertyGroup>
<GeneratedCodeTarget>Client</GeneratedCodeTarget>
<AppStoreConnectOpenApiSpecificationUrl>https://developer.apple.com/sample-code/app-store-connect/app-store-connect-openapi-specification.zip</AppStoreConnectOpenApiSpecificationUrl>
<AppStoreConnectOpenApiSpecificationFile>app-store-connect-openapi-specification.zip</AppStoreConnectOpenApiSpecificationFile>
<AppStoreConnectOpenApiSpecificationExtracted>app-store-connect-openapi-specification</AppStoreConnectOpenApiSpecificationExtracted>
<AppStoreConnectOpenApiSpecificationOriginalJson>openapi.original.json</AppStoreConnectOpenApiSpecificationOriginalJson>
<AppStoreConnectOpenApiSpecificationJson>openapi.json</AppStoreConnectOpenApiSpecificationJson>
<AppStoreConnectVersion>api-version.txt</AppStoreConnectVersion>
</PropertyGroup>

<Import Project="..\WarningConfiguration.targets" />

<ItemGroup>
<PackageReference Include="Microsoft.Kiota.Abstractions" Version="1.16.0" />
<PackageReference Include="Microsoft.Kiota.Http.HttpClientLibrary" Version="1.16.0" />
<PackageReference Include="Microsoft.Kiota.Serialization.Form" Version="1.16.0" />
<PackageReference Include="Microsoft.Kiota.Serialization.Json" Version="1.16.0" />
<PackageReference Include="Microsoft.Kiota.Serialization.Multipart" Version="1.16.0" />
<PackageReference Include="Microsoft.Kiota.Serialization.Text" Version="1.16.0" />
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="8.3.0" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.2" />
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Options" Version="8.0.2" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net9.0' ">
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.Options" Version="9.0.0" />
</ItemGroup>

<PropertyGroup>
<GenerateClient>$(RESTORE_WITH_CLIENT_GENERATION)</GenerateClient>
<GenerateClient Condition=" '$(GenerateClient)' == '' ">true</GenerateClient>
<KiotaCommand>$(KIOTA_BIN)</KiotaCommand>
<KiotaCommand Condition=" '$(KiotaCommand)' == '' ">dotnet kiota</KiotaCommand>

<KiotaExec>$(KiotaCommand) generate</KiotaExec>
<KiotaExec>$(KiotaExec) --openapi $(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationExtracted)/$(AppStoreConnectOpenApiSpecificationJson)</KiotaExec>
<KiotaExec>$(KiotaExec) --language csharp</KiotaExec>
<KiotaExec>$(KiotaExec) --exclude-backward-compatible</KiotaExec>
<KiotaExec>$(KiotaExec) --disable-validation-rules KnownAndNotSupportedFormats</KiotaExec>
<KiotaExec>$(KiotaExec) --output $(MSBuildProjectDirectory)/$(GeneratedCodeTarget)</KiotaExec>
<KiotaExec>$(KiotaExec) --class-name AppStoreConnectApiClient</KiotaExec>
<KiotaExec>$(KiotaExec) --namespace-name Apple.AppStoreConnect.$(GeneratedCodeTarget)</KiotaExec>
</PropertyGroup>

<Target Name="DownloadAppStoreConnectOpenApiSpecification" BeforeTargets="Restore;_GenerateRestoreProjectSpec" Condition=" $(GenerateClient) == 'true' And !Exists('$(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationFile)')">
<Message Importance="High" Text="Downloading $(AppStoreConnectOpenApiSpecificationUrl) to the $(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationFile)" />

<Exec WorkingDirectory="$(ProjectDir)" Command="curl -sS $(AppStoreConnectOpenApiSpecificationUrl) --output $(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationFile)" />
</Target>

<Target Name="ExtractAppStoreConnectOpenApiSpecification" BeforeTargets="Restore;_GenerateRestoreProjectSpec" AfterTargets="DownloadAppStoreConnectOpenApiSpecification" Condition=" $(GenerateClient) == 'true' And !Exists('$(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationExtracted)')">
<Message Importance="High" Text="Extracting $(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationFile) to the $(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationExtracted)" />

<Unzip SourceFiles="$(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationFile)" DestinationFolder="$(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationExtracted)" OverwriteReadOnlyFiles="true" />

<ItemGroup>
<OriginalOpenApiJsonFile Include="$(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationExtracted)/*.json" />
</ItemGroup>

<Message Importance="High" Text="Renamed File: @(OriginalOpenApiJsonFile) to $(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationExtracted)/$(AppStoreConnectOpenApiSpecificationOriginalJson)" />

<Move SourceFiles="@(OriginalOpenApiJsonFile)" DestinationFiles="$(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationExtracted)/$(AppStoreConnectOpenApiSpecificationOriginalJson)" />
</Target>

<Target Name="PreprocessOpenApiSpecification" BeforeTargets="Restore;_GenerateRestoreProjectSpec" AfterTargets="ExtractAppStoreConnectOpenApiSpecification" Condition=" $(GenerateClient) == 'true' And !Exists('$(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationExtracted)/$(AppStoreConnectOpenApiSpecificationJson)')">
<Message Importance="High" Text="Preprocess $(AppStoreConnectOpenApiSpecificationOriginalJson) to the $(AppStoreConnectOpenApiSpecificationJson)" />
<Message Importance="High" Text="dotnet run --project $(ProjectDir)\..\Apple.AppStoreConnect.PreprocessOpenApi\Apple.AppStoreConnect.PreprocessOpenApi.csproj -c Release $(AppStoreConnectOpenApiSpecificationExtracted)/$(AppStoreConnectOpenApiSpecificationOriginalJson) $(AppStoreConnectOpenApiSpecificationExtracted)/$(AppStoreConnectOpenApiSpecificationJson)" />

<Exec WorkingDirectory="$(ProjectDir)" Command="dotnet run --project $(ProjectDir)..\Apple.AppStoreConnect.PreprocessOpenApi\Apple.AppStoreConnect.PreprocessOpenApi.csproj -c Release $(AppStoreConnectOpenApiSpecificationExtracted)/$(AppStoreConnectOpenApiSpecificationOriginalJson) $(AppStoreConnectOpenApiSpecificationExtracted)/$(AppStoreConnectOpenApiSpecificationJson) $(AppStoreConnectVersion)" />
</Target>

<Target Name="GenerateClient" BeforeTargets="Restore;_GenerateRestoreProjectSpec" AfterTargets="PreprocessOpenApiSpecification" Condition=" $(GenerateClient) == 'true' And !Exists('$(MSBuildProjectDirectory)/$(GeneratedCodeTarget)')">
<Message Importance="High" Text="Generating client to the $(MSBuildProjectDirectory)/$(GeneratedCodeTarget) using $(KiotaCommand)" />

<Exec WorkingDirectory="$(ProjectDir)" EnvironmentVariables="KIOTA_TUTORIAL_ENABLED=false" Command="$(KiotaExec)" />
</Target>

</Project>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<LangVersion>13.0</LangVersion>
<Nullable>enable</Nullable>
<PackageLicense>MIT</PackageLicense>
<RepositoryUrl>https://github.com/aviationexam/apple-app-store-connect-api</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<ProjectName>AppStoreConnect</ProjectName>
<PackageId>Aviationexam.Apple.AppStoreConnect</PackageId>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<CompilerGeneratedFilesOutputPath>..\..\GeneratedFiles\AppStoreConnect</CompilerGeneratedFilesOutputPath>
</PropertyGroup>

<PropertyGroup>
<GeneratedCodeTarget>Client</GeneratedCodeTarget>
<AppStoreConnectOpenApiSpecificationUrl>https://developer.apple.com/sample-code/app-store-connect/app-store-connect-openapi-specification.zip</AppStoreConnectOpenApiSpecificationUrl>
<AppStoreConnectOpenApiSpecificationFile>app-store-connect-openapi-specification.zip</AppStoreConnectOpenApiSpecificationFile>
<AppStoreConnectOpenApiSpecificationExtracted>app-store-connect-openapi-specification</AppStoreConnectOpenApiSpecificationExtracted>
<AppStoreConnectOpenApiSpecificationOriginalJson>openapi.original.json</AppStoreConnectOpenApiSpecificationOriginalJson>
<AppStoreConnectOpenApiSpecificationJson>openapi.json</AppStoreConnectOpenApiSpecificationJson>
<AppStoreConnectVersion>api-version.txt</AppStoreConnectVersion>
</PropertyGroup>

<Import Project="..\WarningConfiguration.targets" />

<ItemGroup>
<PackageReference Include="Microsoft.Kiota.Abstractions" Version="1.16.1" />
<PackageReference Include="Microsoft.Kiota.Http.HttpClientLibrary" Version="1.16.1" />
<PackageReference Include="Microsoft.Kiota.Serialization.Form" Version="1.16.1" />
<PackageReference Include="Microsoft.Kiota.Serialization.Json" Version="1.16.1" />
<PackageReference Include="Microsoft.Kiota.Serialization.Multipart" Version="1.16.1" />
<PackageReference Include="Microsoft.Kiota.Serialization.Text" Version="1.16.1" />
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="8.3.0" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.2" />
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Options" Version="8.0.2" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net9.0' ">
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.Options" Version="9.0.0" />
</ItemGroup>

<PropertyGroup>
<GenerateClient>$(RESTORE_WITH_CLIENT_GENERATION)</GenerateClient>
<GenerateClient Condition=" '$(GenerateClient)' == '' ">true</GenerateClient>
<KiotaCommand>$(KIOTA_BIN)</KiotaCommand>
<KiotaCommand Condition=" '$(KiotaCommand)' == '' ">dotnet kiota</KiotaCommand>

<KiotaExec>$(KiotaCommand) generate</KiotaExec>
<KiotaExec>$(KiotaExec) --openapi $(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationExtracted)/$(AppStoreConnectOpenApiSpecificationJson)</KiotaExec>
<KiotaExec>$(KiotaExec) --language csharp</KiotaExec>
<KiotaExec>$(KiotaExec) --exclude-backward-compatible</KiotaExec>
<KiotaExec>$(KiotaExec) --disable-validation-rules KnownAndNotSupportedFormats</KiotaExec>
<KiotaExec>$(KiotaExec) --output $(MSBuildProjectDirectory)/$(GeneratedCodeTarget)</KiotaExec>
<KiotaExec>$(KiotaExec) --class-name AppStoreConnectApiClient</KiotaExec>
<KiotaExec>$(KiotaExec) --namespace-name Apple.AppStoreConnect.$(GeneratedCodeTarget)</KiotaExec>
</PropertyGroup>

<Target Name="DownloadAppStoreConnectOpenApiSpecification" BeforeTargets="Restore;_GenerateRestoreProjectSpec" Condition=" $(GenerateClient) == 'true' And !Exists('$(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationFile)')">
<Message Importance="High" Text="Downloading $(AppStoreConnectOpenApiSpecificationUrl) to the $(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationFile)" />

<Exec WorkingDirectory="$(ProjectDir)" Command="curl -sS $(AppStoreConnectOpenApiSpecificationUrl) --output $(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationFile)" />
</Target>

<Target Name="ExtractAppStoreConnectOpenApiSpecification" BeforeTargets="Restore;_GenerateRestoreProjectSpec" AfterTargets="DownloadAppStoreConnectOpenApiSpecification" Condition=" $(GenerateClient) == 'true' And !Exists('$(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationExtracted)')">
<Message Importance="High" Text="Extracting $(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationFile) to the $(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationExtracted)" />

<Unzip SourceFiles="$(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationFile)" DestinationFolder="$(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationExtracted)" OverwriteReadOnlyFiles="true" />

<ItemGroup>
<OriginalOpenApiJsonFile Include="$(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationExtracted)/*.json" />
</ItemGroup>

<Message Importance="High" Text="Renamed File: @(OriginalOpenApiJsonFile) to $(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationExtracted)/$(AppStoreConnectOpenApiSpecificationOriginalJson)" />

<Move SourceFiles="@(OriginalOpenApiJsonFile)" DestinationFiles="$(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationExtracted)/$(AppStoreConnectOpenApiSpecificationOriginalJson)" />
</Target>

<Target Name="PreprocessOpenApiSpecification" BeforeTargets="Restore;_GenerateRestoreProjectSpec" AfterTargets="ExtractAppStoreConnectOpenApiSpecification" Condition=" $(GenerateClient) == 'true' And !Exists('$(MSBuildProjectDirectory)/$(AppStoreConnectOpenApiSpecificationExtracted)/$(AppStoreConnectOpenApiSpecificationJson)')">
<Message Importance="High" Text="Preprocess $(AppStoreConnectOpenApiSpecificationOriginalJson) to the $(AppStoreConnectOpenApiSpecificationJson)" />
<Message Importance="High" Text="dotnet run --project $(ProjectDir)\..\Apple.AppStoreConnect.PreprocessOpenApi\Apple.AppStoreConnect.PreprocessOpenApi.csproj -c Release $(AppStoreConnectOpenApiSpecificationExtracted)/$(AppStoreConnectOpenApiSpecificationOriginalJson) $(AppStoreConnectOpenApiSpecificationExtracted)/$(AppStoreConnectOpenApiSpecificationJson)" />

<Exec WorkingDirectory="$(ProjectDir)" Command="dotnet run --project $(ProjectDir)..\Apple.AppStoreConnect.PreprocessOpenApi\Apple.AppStoreConnect.PreprocessOpenApi.csproj -c Release $(AppStoreConnectOpenApiSpecificationExtracted)/$(AppStoreConnectOpenApiSpecificationOriginalJson) $(AppStoreConnectOpenApiSpecificationExtracted)/$(AppStoreConnectOpenApiSpecificationJson) $(AppStoreConnectVersion)" />
</Target>

<Target Name="GenerateClient" BeforeTargets="Restore;_GenerateRestoreProjectSpec" AfterTargets="PreprocessOpenApiSpecification" Condition=" $(GenerateClient) == 'true' And !Exists('$(MSBuildProjectDirectory)/$(GeneratedCodeTarget)')">
<Message Importance="High" Text="Generating client to the $(MSBuildProjectDirectory)/$(GeneratedCodeTarget) using $(KiotaCommand)" />

<Exec WorkingDirectory="$(ProjectDir)" EnvironmentVariables="KIOTA_TUTORIAL_ENABLED=false" Command="$(KiotaExec)" />
</Target>

</Project>

0 comments on commit ecef5b3

Please sign in to comment.