[CALCITE-5098] Migrate Avatica to Gradle 7.4.2, and support Java 16 and 17

Before this change, Avatica used Gradle 6.8.1 and supported
Java versions up to 15. For Java 16 we need to upgrade to
Gradle 7, and for Java 17 we need Gradle 7.3. Gradle 7
removes support for the "testClasses" configuration.

Because of the "testClasses" change 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.

Add JDK 17 to GitHub CI. (Going forward, CI should test LTS
Java versions - currently 8, 11, 17 - plus the latest Java
version.)

Close apache/calcite-avatica#176
8 files changed
tree: 18fc714bd65603a649e26a5169fa38245d3c4f71
  1. .github/
  2. bom/
  3. core/
  4. docker/
  5. gradle/
  6. metrics/
  7. metrics-dropwizardmetrics/
  8. noop-driver/
  9. release/
  10. server/
  11. shaded/
  12. site/
  13. src/
  14. standalone-server/
  15. tck/
  16. .editorconfig
  17. .gitattributes
  18. .gitignore
  19. .ratignore
  20. .travis.yml
  21. build.gradle.kts
  22. docker-compose.yml
  23. docker.sh
  24. gradle.properties
  25. gradlew
  26. gradlew.bat
  27. LICENSE
  28. NOTICE
  29. README
  30. README.md
  31. settings.gradle.kts
README.md

Build Status CI Status

Apache Calcite -- Avatica

Apache Calcite's Avatica is a framework for building database drivers.

Avatica is a sub-project of Apache Calcite.

For more details, see the home page.

Release notes for all published versions are available on the history page.