Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

TimurSadykov
Copy link

@TimurSadykov TimurSadykov commented Nov 5, 2021

This fixes three current build issues due to version updates:

  1. java-format got additional dependencies starting version 1.9: auto-value-annotations and auto-service-annotations
  2. java-format requires JRE v11+ to run. Updating ci.yaml for that. plugin not compatible with java 8 google/google-java-format#529
  3. Guava drops java7 support from v31, therefore disabling unit tests for java7

@TimurSadykov TimurSadykov requested a review from a team as a code owner November 5, 2021 02:51
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Nov 5, 2021
@TimurSadykov TimurSadykov changed the title java format with deps fix: add java format dependencies and linter jre Nov 7, 2021
@TimurSadykov TimurSadykov changed the title fix: add java format dependencies and linter jre fix: new java format dependencies and linter fix Nov 7, 2021
@generated-files-bot
Copy link

Warning: This pull request is touching the following templated files:

  • .github/sync-repo-settings.yaml

Neenu1995
Neenu1995 previously approved these changes Nov 8, 2021
strategy:
matrix:
java: [7, 8, 11]
java: [8, 11]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI. Java client libraries check java 8, 11 and 17.

@Neenu1995
Copy link
Contributor

Owlbot check is failing because owlbot image has changed to gcr.io/cloud-devrel-public-resources/owlbot-java:latest.
Update the .github/.OwlBot.lock.yaml and .github/.OwlBot.yaml files with the new image.

@Neenu1995 Neenu1995 dismissed their stale review November 8, 2021 15:49

Fix owlbot image before merging

@Neenu1995 Neenu1995 added the automerge Merge the pull request once unit tests and other checks pass. label Nov 9, 2021
@gcf-merge-on-green gcf-merge-on-green bot merged commit 9df1cd7 into main Nov 9, 2021
@gcf-merge-on-green gcf-merge-on-green bot deleted the stim-build-test branch November 9, 2021 16:42
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Nov 9, 2021
<dependency>
<groupId>com.google.auto.value</groupId>
<artifactId>${project.auto-value-annotations.version}</artifactId>
<version>1.8.2</version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be ${project.auto-service-annotations.version}?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, the whole thing seems wrong. I'm surprised this doesn't fail.

gcf-merge-on-green bot pushed a commit that referenced this pull request Nov 11, 2021
The dependencies were added in #768. Obviously, `artifactId`s are wrong.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants