Skip to content

Commit

Permalink
feat: next release from mainline is 2.2.0 (#1124)
Browse files Browse the repository at this point in the history
* feat: next release from mainline is 2.2.0

* fix(java): java 17 dependency arguments

manual application of googleapis/synthtool#1266
  • Loading branch information
BenWhitehead committed Oct 25, 2021
1 parent d5884cb commit 53a755b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .github/release-please.yml
Expand Up @@ -18,3 +18,7 @@ branches:
handleGHRelease: true
releaseType: java-yoshi
branch: java7
- bumpMinorPreMajor: true
handleGHRelease: true
releaseType: java-yoshi
branch: 2.1.x
14 changes: 14 additions & 0 deletions .github/sync-repo-settings.yaml
Expand Up @@ -76,6 +76,20 @@ branchProtectionRules:
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- pattern: 2.1.x
isAdminEnforced: true
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
requiresStrictStatusChecks: false
requiredStatusCheckContexts:
- dependencies (8)
- dependencies (11)
- lint
- clirr
- units (8)
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
permissionRules:
- team: yoshi-admins
permission: admin
Expand Down
10 changes: 4 additions & 6 deletions .kokoro/dependencies.sh
Expand Up @@ -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)
Expand Down

0 comments on commit 53a755b

Please sign in to comment.