Tad
Tad

Reputation: 4784

How to use Appengine Gradle Plugin with standard environment

After putting it off for a long time, I am finally updating from the gradle-appengine-plugin to the app-gradle-plugin. Although the documentation[1] calls for using an appengine-web file to configure the app, the plugin looks for an app.yaml configuration, which seems to be specific to the flexible environment. Does anyone have tips on either getting the plugin to use the appengine-web configuration, or configuring app.yaml for the standard environment? Thanks.

Upvotes: 0

Views: 131

Answers (1)

Tad
Tad

Reputation: 4784

It turns out that the problem was that the plugin does not use the appEngineDirectory setting when looking for appengine-web.xml. Instead, it looks for a app.yaml file in that directory, and returns an error when it is not found (even if appengine-web.yaml is there). If the appengine-web.xml file is in the standard WEB-INF folder, it works as expected.

I'll update if I can figure out how to use a custom directory for appengine-web.xml.

Upvotes: 1

Related Questions