The dependency-check gradle plugin is a Software Composition Analysis (SCA) tool that allows projects to monitor dependent libraries for known, published vulnerabilities.
At the moment, no. I do not believe so. You could use an init-script - i.e. write the config to disk temporarily with the API key and then run the scan.
Is it possible to pass the NVD Api key as a parameter to the dependencyCheckanalyse task?