File tree Expand file tree Collapse file tree
appengine-java8/endpoints-v2-guice Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,14 +56,25 @@ endpointsServer {
5656 serviceClasses = [' com.example.echo.Echo' ]
5757}
5858
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+
5970sourceCompatibility = 1.8 // App Engine Standard uses Java 8
6071targetCompatibility = 1.8 // App Engine Standard uses Java 8
6172
6273// this replaces the ${endpoints.project.id} in appengine-web.xml and web.xml
6374task replaceProjectId (type : Copy ) {
6475 from ' src/main/webapp/WEB-INF/'
6576 include ' *.xml'
66- into ' build/exploded-guice-example /WEB-INF'
77+ into ' build/exploded-endpoints-v2-guice /WEB-INF'
6778 expand(endpoints :[project :[id :projectId]])
6879 filteringCharset = ' UTF-8'
6980}
You can’t perform that action at this time.
0 commit comments