Open kubera opened 9 years ago
I'm having this issue as well.
Performing the following, yields just undefined
task gulpBuildWithOpts(type: GulpTask) { args = ["build", "--env production", "--buildType gradle"] }
However, performing the same directly with gulp works perfectly fine. (Using yargs )
gulp --env production --buildType gradle build
EDIT
It would appear I've been somewhat silly.... for this to work in version 0.0.13 (or any other, but not tested) you need to separate the args key & val, like so instead:
task gulpBuildWithOpts(type: GulpTask) { args = ["build", "--env", "production", "--buildType", "gradle"] }
This doesn't work for me:
It tries to find a gulp task arg1: