Skip to content

Commit

Permalink
feat: Remove reference assemblies and SourceLink for REST
Browse files Browse the repository at this point in the history
This is the generator counterpart of googleapis/google-api-dotnet-client#2776
  • Loading branch information
jskeet committed Jun 17, 2024
1 parent 576f03f commit 08ac199
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@

<!-- common dependencies -->
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="All" />
<PackageReference Include="ConfigureAwaitChecker.Analyzer" Version="5.0.0" PrivateAssets="All" />
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.8.3" PrivateAssets="All" />
<PackageReference Include="Google.Apis" Version="1.54.0" />
<PackageReference Include="Google.Apis.Auth" Version="1.54.0" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@

<!-- common dependencies -->
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="All" />
<PackageReference Include="ConfigureAwaitChecker.Analyzer" Version="5.0.0" PrivateAssets="All" />
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.8.3" PrivateAssets="All" />
<PackageReference Include="Google.Apis" Version="1.54.0" />
<PackageReference Include="Google.Apis.Auth" Version="1.54.0" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@

<!-- common dependencies -->
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="All" />
<PackageReference Include="ConfigureAwaitChecker.Analyzer" Version="5.0.0" PrivateAssets="All" />
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.8.3" PrivateAssets="All" />
<PackageReference Include="Google.Apis" Version="1.54.0" />
<PackageReference Include="Google.Apis.Auth" Version="1.54.0" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@

<!-- common dependencies -->
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="All" />
<PackageReference Include="ConfigureAwaitChecker.Analyzer" Version="5.0.0" PrivateAssets="All" />
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.8.3" PrivateAssets="All" />
<PackageReference Include="Google.Apis" Version="1.54.0" />
<PackageReference Include="Google.Apis.Auth" Version="1.54.0" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@

<!-- common dependencies -->
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="All" />
<PackageReference Include="ConfigureAwaitChecker.Analyzer" Version="5.0.0" PrivateAssets="All" />
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.8.3" PrivateAssets="All" />
<PackageReference Include="Google.Apis" Version="1.54.0" />
<PackageReference Include="Google.Apis.Auth" Version="1.54.0" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@

<!-- common dependencies -->
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="All" />
<PackageReference Include="ConfigureAwaitChecker.Analyzer" Version="5.0.0" PrivateAssets="All" />
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.8.3" PrivateAssets="All" />
<PackageReference Include="Google.Apis" Version="1.54.0" />
<PackageReference Include="Google.Apis.Auth" Version="1.54.0" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@

<!-- common dependencies -->
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="All" />
<PackageReference Include="ConfigureAwaitChecker.Analyzer" Version="5.0.0" PrivateAssets="All" />
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.8.3" PrivateAssets="All" />
<PackageReference Include="Google.Apis" Version="1.54.0" />
<PackageReference Include="Google.Apis.Auth" Version="1.54.0" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@

<!-- common dependencies -->
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="All" />
<PackageReference Include="ConfigureAwaitChecker.Analyzer" Version="5.0.0" PrivateAssets="All" />
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.8.3" PrivateAssets="All" />
<PackageReference Include="Google.Apis" Version="1.54.0" />
<PackageReference Include="Google.Apis.Auth" Version="1.54.0" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@

<!-- common dependencies -->
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="All" />
<PackageReference Include="ConfigureAwaitChecker.Analyzer" Version="5.0.0" PrivateAssets="All" />
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.8.3" PrivateAssets="All" />
<PackageReference Include="Google.Apis" Version="1.54.0" />
</ItemGroup>

Expand Down
2 changes: 0 additions & 2 deletions Google.Api.Generator.Rest/Models/PackageModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -362,9 +362,7 @@ public XDocument GenerateProjectFile(IClock clock)
);

var commonDependencies = new XElement("ItemGroup",
PackageReference("Microsoft.NETFramework.ReferenceAssemblies", "1.0.2", new XAttribute("PrivateAssets", "All")),
PackageReference("ConfigureAwaitChecker.Analyzer", "5.0.0", new XAttribute("PrivateAssets", "All")),
PackageReference("SourceLink.Create.CommandLine", "2.8.3", new XAttribute("PrivateAssets", "All")),
PackageReference("Google.Apis", _features.CurrentSupportVersion),
AuthScopes.Any() ? PackageReference("Google.Apis.Auth", _features.CurrentSupportVersion) : null
);
Expand Down

0 comments on commit 08ac199

Please sign in to comment.