Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Before this change, Avatica used Gradle 6.8.1 and supported Java versions up to 15. After this change Avatica uses Gradle 7.4.2 and supports Java versions up to 17.
Rationale: Gradle 6 only supports Java versions up to 15. For Java 16 we need to upgrade to Gradle 7. Java 17 requires Gradle 7.3. (See CALCITE-4829, the corresponding Calcite issue.)
Gradle 7 removes support for the "testClasses" configuration, so we will need to remove uses of that, and we need to prevent uses of tests in one module by tests in another. In Calcite we solved that problem by creating a testkit module (see CALCITE-4821) but we don't go that far for Avatica. In the dev branch you'll see I created a testkit module but then removed it as overkill.
Attachments
Issue Links
- breaks
-
CALCITE-5116 Upgrade vlsi-release-plugins to 1.78
- Closed
- is depended upon by
-
CALCITE-5095 Support Java 18 and Guava 31.1-jre
- Closed
- is related to
-
CALCITE-4547 Support Java 16 and 17
- Closed
-
CALCITE-4821 Move utility test classes into calcite-testkit and unpublish -test.jar
- Closed
- relates to
-
CALCITE-4829 Bump Gradle to 7.2 and test with Java 17 at GitHub Actions
- Closed
- links to