You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2021/02/18 20:09:24 UTC

[GitHub] [openwhisk-wskdeploy] mrutkows edited a comment on pull request #1118: Fix gogradle plugin to stop using vendor directory

mrutkows edited a comment on pull request #1118:
URL: https://github.com/apache/openwhisk-wskdeploy/pull/1118#issuecomment-781602441


   My assumption is that the gogradle plugin forces you to use a "/vendor" directory and we really do not want one at all; however, the "go" command assumes that if it sees a "/vendor" directory that it overrides "go.mod".  So we need to either:
   
   a) prevent gogradle from installing anything into "/vendor" meaning we need to prevent the  `Task :resolveBuildDependencies` and `Task :installDependencies` from installing packages into "/vendor" or
   or
   b) we set the new flag option on the "go" command i.e., `-mod=mod` to force it to ignore the vendor directory regardless of what gogradle does.
   
   See: https://tip.golang.org/doc/go1.14 for a desc. of this behavior


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org