Skip to content

Commit cacfe8f

Browse files
authored
docs: add example of usage of extraFilesDirectories to gradle user guide (#1041)
1 parent 4c49f46 commit cacfe8f

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

app-gradle-plugin/USER_GUIDE.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,3 +340,19 @@ The `deploy` configuration has the following parameters :
340340
| `version` | The version of the app that will be created or replaced by this deployment. This also can be set to `GCLOUD_CONFIG` |
341341

342342
\* setting a property to `GCLOUD_CONFIG` will deploy using the gcloud settings for the property.
343+
344+
### How do I deploy other files with my application to App Engine?
345+
The `extraFilesDirectories` parameter lets you configure locations on your local drive of files that
346+
will be deployed with your application. See below for an example of how the parameter can be used in
347+
Gradle.
348+
349+
```gradle
350+
appengine {
351+
deploy {
352+
...
353+
}
354+
stage {
355+
extraFilesDirectories = "path/to/my/extras"
356+
}
357+
}
358+
```

0 commit comments

Comments
 (0)