Skip to content

Commit 985652d

Browse files
tangiellesv
authored andcommitted
enforce java 7 on Endpoints sample (GoogleCloudPlatform#448)
* enforce java 7 on Endpoints sample Currently, mvn appengine:update fails because it compiles Java 8 bytecode. This forces the app code to Java 7. * set property instead of including plugin
1 parent 3e51c19 commit 985652d

File tree

1 file changed

+2
-0
lines changed
  • appengine/endpoints-frameworks-v2/backend

1 file changed

+2
-0
lines changed

appengine/endpoints-frameworks-v2/backend/pom.xml

+2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
<endpoints.management.version>1.0.0-beta.11</endpoints.management.version>
3636

3737
<endpoints.project.id>YOUR_PROJECT_ID</endpoints.project.id>
38+
<maven.compiler.target>1.7</maven.compiler.target>
39+
<maven.compiler.source>1.7</maven.compiler.source>
3840
</properties>
3941

4042
<dependencies>

0 commit comments

Comments
 (0)