I was facing the same issue, updated the plugin version to 2.2.0, and the error changed.
Now I get this error:
Execution failed for task ':update'.
Process 'command '/home/xxxxxxxxxx/.sdkman/candidates/java/17.0.10-librca/bin/java'' finished with non-zero exit value 1