So far so good. It was super easy to apply the plugin to your project, however when I tried to run the appengineRun task it failed with the message (on version 1.8.6 of the plugin):
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':backend-gae:appengineExplodeApp'.
With that in mind and until it has been fixed (I do believe that the plugin should do this for us) you just can add either the ear or the war plugin to your projects.
Bellow is also an example of a full build script:
/** * Info about the plugin: https://github.com/GoogleCloudPlatform/gradle-appengine-plugin */ buildscript { repositories { mavenCentral() } dependencies { classpath 'com.google.appengine:gradle-appengine-plugin:1.8.6' } } apply plugin: 'war' apply plugin: 'appengine' appengine { downloadSdk = true httpPort = 9085 } dependencies { appengineSdk 'com.google.appengine:appengine-java-sdk:1.8.6' compile 'com.google.appengine:appengine-api-1.0-sdk:1.8.6' compile 'com.google.appengine:appengine-api-labs:1.8.6' }
Inga kommentarer:
Skicka en kommentar