GoogleCloudPlatform / app-gradle-plugin

The library has moved to https://github.com/GoogleCloudPlatform/appengine-plugins/tree/main/app-gradle-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

src/main/appengine/app.yaml not considered

raubel opened this issue · comments

I want to deploy my Java application to GAE with a custom scaling configuration.
I put this configuration in the file src/main/appengine/app.yaml.
But when I run the task appengineStage or appengineDeploy, the descriptor used is in the appEngineDirectory (build/staged-app), it is generated by the gradle plugin, and does not contain my own src/main/appengine/app.yaml.
Any help would be appreciated.

OK, got it.
My app is configured by a appengine-web.xml file and I didn't understand that the configuration is done either by this file or by app.yaml, but not both.