Error while executing Destination connector build with invalid source release

Summary

When trying to execute a Destination connector build, an error ‘invalid source release: 21’ is encountered. The build fails during the compileJava task due to deprecated Gradle features.


Question

Hi Team,

When trying to execute a Destination connector build, getting the below error :

[root@airbyte]# ./gradlew :airbyte-integrations:connectors:destination-vertica:build
Starting a Gradle Daemon (subsequent builds will be faster)

> Task :airbyte-integrations:connectors:checkPython
Using python 3.11.5 from /root/airbyte/airbyte/airbyte-integrations/connectors/build/.venv (/root/airbyte/airbyte/airbyte-integrations/connectors/build/.venv/bin/python)
Using pip 21.0.1 from /root/airbyte/airbyte/airbyte-integrations/connectors/build/.venv/lib/python3.11/site-packages/pip (python 3.11)

> Task :airbyte-integrations:connectors:destination-vertica:compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:airbyte-integrations:connectors:destination-vertica:compileJava’.
    > error: invalid source release: 21

  • Try:
    > Run with --stacktrace option to get the stack trace.
    > Run with --info or --debug option to get more log output.
    > Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use ‘–warning-mode all’ to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.6/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 33s
11 actionable tasks: 3 executed, 8 up-to-date

Any thoughts on this one ?

Regards/Vivek



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want to access the original thread.

Join the conversation on Slack

["destination-connector", "build-error", "invalid-source-release", "compileJava", "deprecated-features", "gradle"]