Skip to content

Commit

Permalink
docs: add example of usage of extraFilesDirectories to gradle user gu…
Browse files Browse the repository at this point in the history
…ide (#1041)
  • Loading branch information
mpeddada1 authored Dec 26, 2024
1 parent 4c49f46 commit cacfe8f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions app-gradle-plugin/USER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,3 +340,19 @@ The `deploy` configuration has the following parameters :
| `version` | The version of the app that will be created or replaced by this deployment. This also can be set to `GCLOUD_CONFIG` |

\* setting a property to `GCLOUD_CONFIG` will deploy using the gcloud settings for the property.

### How do I deploy other files with my application to App Engine?
The `extraFilesDirectories` parameter lets you configure locations on your local drive of files that
will be deployed with your application. See below for an example of how the parameter can be used in
Gradle.

```gradle
appengine {
deploy {
...
}
stage {
extraFilesDirectories = "path/to/my/extras"
}
}
```

0 comments on commit cacfe8f

Please sign in to comment.