@@ -18,8 +18,10 @@ buildscript {
1818 }
1919
2020 dependencies {
21- classpath ' com.google.cloud.tools:endpoints-framework-gradle-plugin:+'
22- classpath ' com.google.cloud.tools:appengine-gradle-plugin:+'
21+ // [START endpoints_plugin]
22+ classpath ' com.google.cloud.tools:endpoints-framework-gradle-plugin:1.0.2'
23+ // [END endpoints_plugin]
24+ classpath ' com.google.cloud.tools:appengine-gradle-plugin:1.3.3'
2325 }
2426}
2527
@@ -39,20 +41,25 @@ def projectId = 'YOUR_PROJECT_ID'
3941
4042apply plugin : ' java'
4143apply plugin : ' war'
44+ // [START endpoints_plugin_apply]
4245apply plugin : ' com.google.cloud.tools.endpoints-framework-server'
46+ // [END endpoints_plugin_apply]
4347apply plugin : ' com.google.cloud.tools.appengine'
4448
4549dependencies {
46- // For real projects: use concrete versions here instead of the '+' to make your build consistent
47- compile ' com.google.endpoints:endpoints-framework:+'
48- compile ' com.google.endpoints:endpoints-management-control-appengine:+'
49- compile ' com.google.endpoints:endpoints-framework-auth:+'
50+ compile ' com.google.endpoints:endpoints-framework:2.0.8'
51+ // [START api_management]
52+ compile ' com.google.endpoints:endpoints-management-control-appengine:1.0.5'
53+ compile ' com.google.endpoints:endpoints-framework-auth:1.0.5'
54+ // [END api_management]
5055}
5156
57+ // [START endpoints_plugin_config]
5258endpointsServer {
5359 // Endpoints Framework Plugin server-side configuration
5460 hostname = " ${ projectId} .appspot.com"
5561}
62+ // [END endpoints_plugin_config]
5663
5764appengine { // App Engine tasks configuration
5865 deploy { // deploy configuration
0 commit comments