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

Commit 9266bfc

Browse files
chore: regenerate common templates (#193)
* changes without context autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. * build: update dependencies check to only check for runtime and compile scopes * change:Updated dependencies check to only use runtime & compile scope * Update dependencies.sh * feat: update dependencies check to only check for runtime and compile scopes Co-authored-by: Saleh Mostafa <salehmostafa@google.com> Co-authored-by: Jeffrey Rennie <rennie@google.com> Source-Author: salehsquared <salehmostafamain@gmail.com> Source-Date: Thu Aug 6 13:01:02 2020 -0400 Source-Repo: googleapis/synthtool Source-Sha: f8823dec98277a9516f2fb6fae9f58b3a59a23e1 Source-Link: googleapis/synthtool@f8823de
1 parent a173ab1 commit 9266bfc

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.kokoro/dependencies.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,13 @@ function completenessCheck() {
4343
# Output dep list with compile scope generated using the original pom
4444
# Running mvn dependency:list on Java versions that support modules will also include the module of the dependency.
4545
# This is stripped from the output as it is not present in the flattened pom.
46+
# Only dependencies with 'compile' or 'runtime' scope are included from original dependency list.
4647
msg "Generating dependency list using original pom..."
47-
mvn dependency:list -f pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e s/\\s--\\smodule.*// | grep -v ':test$' >.org-list.txt
48+
mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e s/\\s--\\smodule.*// >.org-list.txt
4849

49-
# Output dep list generated using the flattened pom (test scope deps are ommitted)
50+
# Output dep list generated using the flattened pom (only 'compile' and 'runtime' scopes)
5051
msg "Generating dependency list using flattened pom..."
51-
mvn dependency:list -f .flattened-pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt
52+
mvn dependency:list -f .flattened-pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt
5253

5354
# Compare two dependency lists
5455
msg "Comparing dependency lists..."
@@ -85,4 +86,4 @@ then
8586
else
8687
msg "Errors found. See log statements above."
8788
exit 1
88-
fi
89+
fi

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ If you are using Maven without BOM, add this to your dependencies:
9898

9999
If you are using Gradle, add this to your dependencies
100100
```Groovy
101-
compile 'com.google.cloud:google-cloud-recaptchaenterprise:0.30.1'
101+
compile 'com.google.cloud:google-cloud-recaptchaenterprise:0.31.0'
102102
```
103103
If you are using SBT, add this to your dependencies
104104
```Scala
105-
libraryDependencies += "com.google.cloud" % "google-cloud-recaptchaenterprise" % "0.30.1"
105+
libraryDependencies += "com.google.cloud" % "google-cloud-recaptchaenterprise" % "0.31.0"
106106
```
107107
[//]: # ({x-version-update-end})
108108

synth.metadata

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-recaptchaenterprise.git",
7-
"sha": "07753990d4be10a89679658019c006ebb113d5f4"
7+
"sha": "8052bb8a261536e505ca192b51e5aba9dad80245"
88
}
99
},
1010
{
@@ -27,7 +27,7 @@
2727
"git": {
2828
"name": "synthtool",
2929
"remote": "https://github.com/googleapis/synthtool.git",
30-
"sha": "4530cc6ff080ef8aca258c1ec92c4db10a1bbfb4"
30+
"sha": "f8823dec98277a9516f2fb6fae9f58b3a59a23e1"
3131
}
3232
}
3333
],

0 commit comments

Comments
 (0)