@@ -18,8 +18,10 @@ buildscript {
18
18
}
19
19
20
20
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'
23
25
}
24
26
}
25
27
@@ -39,20 +41,25 @@ def projectId = 'YOUR_PROJECT_ID'
39
41
40
42
apply plugin : ' java'
41
43
apply plugin : ' war'
44
+ // [START endpoints_plugin_apply]
42
45
apply plugin : ' com.google.cloud.tools.endpoints-framework-server'
46
+ // [END endpoints_plugin_apply]
43
47
apply plugin : ' com.google.cloud.tools.appengine'
44
48
45
49
dependencies {
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]
50
55
}
51
56
57
+ // [START endpoints_plugin_config]
52
58
endpointsServer {
53
59
// Endpoints Framework Plugin server-side configuration
54
60
hostname = " ${ projectId} .appspot.com"
55
61
}
62
+ // [END endpoints_plugin_config]
56
63
57
64
appengine { // App Engine tasks configuration
58
65
deploy { // deploy configuration
0 commit comments