We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5112a06 commit 07370b5Copy full SHA for 07370b5
docs/faq.md
@@ -43,15 +43,13 @@ This can be done adding some arguments to the already defined `npmInstall`-task.
43
npmInstall.args = ['--loglevel', 'silly']
44
```
45
46
-# How do I specify a registry for the NPM setup task?
+# How do I specify a registry for the NPM/yarn/Pnpm setup task?
47
48
-This can be done by adding to the arguments for the already defined `npmSetup` task.
+This can be done by adding to the arguments for the already defined `npmSetup`/`yarnSetup`/`pnpmSetup` tasks.
49
50
```gradle
51
-tasks.npmSetup {
52
- doFirst {
53
- args.addAll(['--registry', 'http://myregistry.npm.com'])
54
- }
+tasks.<npm|yarn|pnpm>Setup {
+ args.addAll(['--registry', 'http://myregistry.npm.com'])
55
}
56
57
0 commit comments