I've pushed, run and tested a managed VM with custom runtime as an AppEngine application. Now I want to make it multi-module, with the default module being a Google Cloud Endpoint configured to work with Android. Hence, I'm using Gradle as my build system.
Now, I noticed that Google has made some initial commits for gcloud preview app run/deploy into the gradle-appengine-plugin: https://github.com/GoogleCloudPlatform/gradle-appengine-plugin/commit/2e4a2b8abb7ec7905012f1f9c12adea7010a41b7
How do I use this extension? Do I add a section to my build.gradle like this?
appengine {
endpoints {
getClientLibsOnBuild = true
getDiscoveryDocsOnBuild = true
}
gcloud {
project = 'projectId?'
app {
dockerHost = tcp://192.168.59.103:2376
version = 1.4.1
server = //What goes here?
}
}
}
Or have I got it entirely wrong?
Please guide me on how to use this.
Also, how in specific do I setup the build.gradle rules for a "custom vm" which is not based off of a standard java runtime? (Since I can't just package an app.yaml and Dockerfile into a war folder)