File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
appengine-java8/endpoints-v2-guice Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -56,14 +56,25 @@ endpointsServer {
56
56
serviceClasses = [' com.example.echo.Echo' ]
57
57
}
58
58
59
+ appengine { // App Engine tasks configuration
60
+ deploy { // deploy configuration
61
+ version = findProperty(" appengine.deploy.version" )
62
+
63
+ def promoteProp = findProperty(" appengine.deploy.promote" )
64
+ if (promoteProp != null ) {
65
+ promote = new Boolean (promoteProp)
66
+ }
67
+ }
68
+ }
69
+
59
70
sourceCompatibility = 1.8 // App Engine Standard uses Java 8
60
71
targetCompatibility = 1.8 // App Engine Standard uses Java 8
61
72
62
73
// this replaces the ${endpoints.project.id} in appengine-web.xml and web.xml
63
74
task replaceProjectId (type : Copy ) {
64
75
from ' src/main/webapp/WEB-INF/'
65
76
include ' *.xml'
66
- into ' build/exploded-guice-example /WEB-INF'
77
+ into ' build/exploded-endpoints-v2-guice /WEB-INF'
67
78
expand(endpoints :[project :[id :projectId]])
68
79
filteringCharset = ' UTF-8'
69
80
}
You can’t perform that action at this time.
0 commit comments