This message was deleted.
# plugin-development
s
This message was deleted.
c
If your are only doing the exec either one is fine. A custom task gives you more options if you need them.
c
JavaExec task does use JavaToolchain by default, while ExecOperations.exec doesn't. it may be important or not for you, but it's a difference.