Seems that things are down, I can't seem to find any other status page or issues around this yet.
FAILURE: Build failed with an exception.
* What went wrong:
Unable to download toolchain matching the requirements ({languageVersion=21, vendor=JetBrains, implementation=vendor-specific, nativeImageCapable=false}) from 'https://api.foojay.io/disco/v3.0/ids/67a0fee3c4236b6397dcbe8575ca2011/redirect', due to: Could not HEAD 'https://api.foojay.io/disco/v3.0/ids/67a0fee3c4236b6397dcbe8575ca2011/redirect'. Received status code 503 from server: Service Temporarily Unavailable