Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Java version 17 #69

Merged

Conversation

rohagarwal
Copy link
Contributor

@rohagarwal rohagarwal commented Mar 29, 2024

Update the following dependencies to newer versions so they work with Java 17:

  • mockito
  • apache commons-lang3
  • zookeeper
  • jackson

Some tests were updated to work with newer version of mockito.

Update Bazel to version 6.5.0 and pull in new version of rules_java to
use the latest JDK for compilation. Build source code targeting Java 17
bytecode, and run tests with Java 17 as well.

@rohagarwal rohagarwal force-pushed the feature/update-3rdparty-deps branch from a73a272 to da8134f Compare March 29, 2024 23:32
README.md Outdated Show resolved Hide resolved
Update the following dependencies to newer versions so they work with
Java 17:
* mockito
* apache commons-lang3
* zookeeper
* jackson

Some tests were updated to work with newer version of mockito.

Update Bazel to version 6.5.0 and pull in new version of rules_java to
use the latest JDK for compilation. Build source code targeting Java 17
bytecode, and run tests with Java 17 as well.
@rohagarwal rohagarwal force-pushed the feature/update-3rdparty-deps branch from da8134f to 5c3a1d6 Compare March 29, 2024 23:44
@rohagarwal rohagarwal changed the title Update external dependencies for Java 17 support Update to Java version 17 Mar 29, 2024
@rohagarwal
Copy link
Contributor Author

Updated this PR to use Java 17 for building and testing, since some of the updated dependencies do not work with Java 8 any more 🤷

@rohagarwal rohagarwal merged commit 174de0b into teslamotors:master Mar 29, 2024
1 check passed
@rohagarwal rohagarwal deleted the feature/update-3rdparty-deps branch March 29, 2024 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants