Skip to content
Permalink
Browse files
fix(java): java 17 dependency arguments (#740)
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/ddaf03fb-6807-4c8a-bb78-a981cb7d36c9/targets

- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

Source-Link: googleapis/synthtool@cb27553
  • Loading branch information
yoshi-automation committed Oct 27, 2021
1 parent ed0df7d commit e9261d203ee7b5f577e5d5843845a3a033e4dac3
Showing with 6 additions and 8 deletions.
  1. +4 −6 .kokoro/dependencies.sh
  2. +2 −2 synth.metadata
@@ -38,15 +38,13 @@ function determineMavenOpts() {
| sed -E 's/^(1\.[0-9]\.0).*$/\1/g'
)

case $javaVersion in
"17")
if [[ $javaVersion == 17* ]]
then
# MaxPermSize is no longer supported as of jdk 17
echo -n "-Xmx1024m"
;;
*)
else
echo -n "-Xmx1024m -XX:MaxPermSize=128m"
;;
esac
fi
}

export MAVEN_OPTS=$(determineMavenOpts)
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-containeranalysis.git",
"sha": "345cd80877bce3c41d30809461d176d25310b5cf"
"sha": "ed0df7d8cf7850854844826362d401e87d3870db"
}
},
{
@@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "d45942be8066ad57bd0509f4a16e1fac78ecc50f"
"sha": "cb2755306975de4c54ea549c9deb25703b3731bb"
}
}
],

0 comments on commit e9261d2

Please sign in to comment.