Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-5098

Migrate Avatica to Gradle 7.4.2, and support Java 16 and 17

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • avatica-1.21.0
    • avatica
    • 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

          Activity

            People

              julianhyde Julian Hyde
              julianhyde Julian Hyde
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m