Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
deps: update dependency io.grpc:grpc-bom to v1.41.0 and com.google.gu…
…ava:guava to v31 (#244)

* deps: update dependency io.grpc:grpc-bom to v1.41.0 and com.google.guava:guava to v31

* chore: exclude errorprone-annotation from dependencies check

* chore: exclude depndencies.sh
  • Loading branch information
Neenu1995 committed Oct 14, 2021
1 parent 0308146 commit f0c638a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .kokoro/dependencies.sh
Expand Up @@ -68,11 +68,11 @@ function completenessCheck() {
# This is stripped from the output as it is not present in the flattened pom.
# Only dependencies with 'compile' or 'runtime' scope are included from original dependency list.
msg "Generating dependency list using original pom..."
mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e 's/ --.*//' >.org-list.txt
mvn dependency:list -f pom.xml -DexcludeArtifactIds=error_prone_annotations -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e 's/ --.*//' >.org-list.txt

# Output dep list generated using the flattened pom (only 'compile' and 'runtime' scopes)
msg "Generating dependency list using flattened pom..."
mvn dependency:list -f .flattened-pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt
mvn dependency:list -f .flattened-pom.xml -DexcludeArtifactIds=error_prone_annotations -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt

# Compare two dependency lists
msg "Comparing dependency lists..."
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Expand Up @@ -65,8 +65,8 @@
<site.installationModule>google-iam-parent</site.installationModule>
<protobuf.version>3.18.1</protobuf.version>
<junit.version>4.13.2</junit.version>
<grpc.version>1.38.1</grpc.version>
<guava.version>30.1-android</guava.version>
<grpc.version>1.41.0</grpc.version>
<guava.version>31.0.1-android</guava.version>
</properties>

<dependencyManagement>
Expand Down
1 change: 1 addition & 0 deletions synth.py
Expand Up @@ -106,4 +106,5 @@ def build_grpc(target):
'README.md',
'samples/*',
'.github/workflows/samples.yaml',
'.kokoro/dependencies.sh',
])

0 comments on commit f0c638a

Please sign in to comment.