8000 Merge pull request #748 from mpoehler/master · hyokenmi/java-docs-samples@165fdc4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 165fdc4

Browse files
authored
Merge pull request GoogleCloudPlatform#748 from mpoehler/master
fix for GoogleCloudPlatform#747, replaceProjectId wrong directory
2 parents 50d1969 + b2fc187 commit 165fdc4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
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)
0