FWDekker/intellij-randomness

NPE in case the script is being run in a subproject where no `buildPlugin` task is present

PawelLipski opened this issue · 1 comments

FAILURE: Build failed with an exception.

* Where:
Script 'https://raw.githubusercontent.com/FWDekker/intellij-randomness/master/gradle/scripts/verifier.gradle' line: 232

* What went wrong:
A problem occurred evaluating script.
> java.lang.NullPointerException (no error message)

(happened for a subproject where org.jetbrains.intellij plugin hasn't been applied)

But this is likely no longer gonna be a problem when runPluginVerifier is integrated into gradle-intellij-plugin, so feel free to ignore the report.

Thanks for the report, Paweł!

The script is essentially a hack into the plugin, so it wasn't written to be comprehensive for all setups. So you're (hopefully) right that it should be fixed once it is integrated into the plugin. I don't know when I'll have time to integrate it, but it certainly is on my todo list. I'll close this issue with the reasoning that it will be fixed once the script has been integrated.