store the exec result on the task

For https://github.com/srs/gradle-node-plugin/issues/11