[JAVA-4357] Update Gradle to use Tool chains Created: 19/Oct/21 Updated: 28/Oct/23 Resolved: 15/Nov/21 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 4.5.0 |
| Type: | Improvement | Priority: | Unknown |
| Reporter: | Esha Bhargava | Assignee: | Ross Lawley |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | size-small | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Quarter: | FY22Q4 | ||||||||
| Description |
|
Which will give us Java 17 support |
| Comments |
| Comment by Githook User [ 15/Nov/21 ] |
|
Author: {'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}Message: Build: Split util project So can compile spock annotations with the same java version as the tests
|
| Comment by Githook User [ 15/Nov/21 ] |
|
Author: {'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}Message: Evergreen: Support new java toolchain feature
|
| Comment by Githook User [ 15/Nov/21 ] |
|
Author: {'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}Message: Build: Updated configs
|
| Comment by Githook User [ 15/Nov/21 ] |
|
Author: {'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}Message: Build: Added java toolchain to build.gradle
|
| Comment by Githook User [ 15/Nov/21 ] |
|
Author: {'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}Message: Build: Update gradle wrapper to 6.9.1
|
| Comment by Jeffrey Yemin [ 11/Nov/21 ] |
|
Commits have been reverted because .class files had major version 55 (Java 11) after these changes, instead of the expected 52 (Java 8). a188380 Revert "Evergreen: Fix setting JAVA_HOME setting" - Jeff Yemin |
| Comment by Githook User [ 10/Nov/21 ] |
|
Author: {'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}Message: Evergreen: Fix setting JAVA_HOME setting run-mongodb-aws-ecs-test.sh can install jdk, so don't set the
|
| Comment by Githook User [ 09/Nov/21 ] |
|
Author: {'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}Message: Evergreen: Fix sourcing javaConfig.bash for serverless
|
| Comment by Githook User [ 09/Nov/21 ] |
|
Author: {'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}Message: Evergreen: Fix sourcing javaConfig.bash
|
| Comment by Githook User [ 08/Nov/21 ] |
|
Author: {'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}Message: Evergreen: Support new java toolchain feature
|
| Comment by Githook User [ 08/Nov/21 ] |
|
Author: {'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}Message: Build: Updated configs Updated checkstyle, spock and spotbugs versions
|
| Comment by Githook User [ 08/Nov/21 ] |
|
Author: {'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}Message: Build: Added java toolchain to build.gradle
|
| Comment by Jeffrey Yemin [ 05/Nov/21 ] |
|
Blocked on
|
| Comment by Jeffrey Yemin [ 05/Nov/21 ] |
So we're effectively blocked from using toolchains until then? |
| Comment by Ross Lawley [ 05/Nov/21 ] |
|
Code: https://github.com/mongodb/mongo-java-driver/compare/master...rozza:JAVA-4357 Currently our use of Stubs in Spock tests causes the driver-core:compileTestGroovy stage to fail. This should become unblocked once Groovy 4 is released and a Spock version supporting groovy 4 is released. Another frustration with using Gradle wrapper 6.9.1 is you cannot use Java 17 as the local Java version unlike when using Gradle wrapper 7.2 |
| Comment by Jeffrey Yemin [ 29/Oct/21 ] |
|
This was in progress, but I couldn't figure out how to change one of the deprecated things into a non-deprecated equivalent. Moving back to scheduled |