Skip to content

Commit e2e8110

Browse files
committed
fix for GoogleCloudPlatform#747, replaceProjectId wrong directory
1 parent 50d1969 commit e2e8110

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

appengine-java8/endpoints-v2-backend/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ endpointsServer {
5454
hostname = "echo-api.endpoints.${projectId}.cloud.goog"
5555
}
5656

57-
sourceCompatibility = 1.7 // App Engine Standard uses Java 7
58-
targetCompatibility = 1.7 // App Engine Standard uses Java 7
57+
sourceCompatibility = 1.8
58+
targetCompatibility = 1.8
5959

6060
// this replaces the ${endpoints.project.id} in appengine-web.xml and web.xml
6161
task replaceProjectId(type: Copy) {
6262
from 'src/main/webapp/WEB-INF/'
6363
include '*.xml'
64-
into 'build/exploded-backend/WEB-INF'
64+
into 'build/exploded-${archivesBaseName}/WEB-INF'
6565
expand(endpoints:[project:[id:projectId]])
6666
filteringCharset = 'UTF-8'
6767
}

0 commit comments

Comments
 (0)