Resolve "No workDir in SonarLint" error

How do I correct the underlying issue? I use SonarLint in IntelliJ and there is no issue, but running SonarLint using only Gradle produces this message.

Hi @jeslie ,

Welcome to SonarSource Community! :sonarsource:

Can you review Frequently Asked Questions: SonarLint for IntelliJ and attach the verbose logs here?

Please also consult this wiki page for the plugin that might help you: Troubleshooting · SonarSource/sonarlint-intellij Wiki · GitHub