
com.google.appengine.task.appcfg.UpdateDispatchTask.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-appengine-plugin Show documentation
Show all versions of gradle-appengine-plugin Show documentation
Gradle plugin that provides tasks for uploading, running and managing Google App Engine projects.
package com.google.appengine.task.appcfg
/**
* Google App Engine task updating dispatch configuration on the server.
*
* To be used on the "default" module, will not work on EAR
* See Dispatch Docs
*/
class UpdateDispatchTask extends AppConfigTaskTemplate {
static final String COMMAND = 'update_dispatch'
@Override
String startLogMessage() {
'Starting update-dispatch process...'
}
@Override
String errorLogMessage() {
'An error occurred updating the dispatch file on App Engine.'
}
@Override
String finishLogMessage() {
'Finished updating dispatch file.'
}
@Override
List getParams() {
[COMMAND, getWebAppSourceDirectory().canonicalPath]
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy