Skip to content

Commit

Permalink
Update java runtime version to support App Engine (#3404)
Browse files Browse the repository at this point in the history
* Update java runtime version to support App Engine

* Adding version number for maven-compiler

* Update maven-compiler configuration

* Update pom.xml

* Update App engine properties

* Update pom.xml
  • Loading branch information
mandlil authored Feb 22, 2024
1 parent 6782535 commit ba53f2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions java/demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<app.deploy.project>libphonenumber-hrd</app.deploy.project>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
<archiveClasses>true</archiveClasses>
<soy.root>${project.basedir}/src/main/resources/com/google/phonenumbers/demo</soy.root>
Expand Down
2 changes: 1 addition & 1 deletion java/demo/src/main/webapp/WEB-INF/appengine-web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
<application>libphonenumber-hrd</application>
<version>1</version>
<runtime>java8</runtime>
<runtime>java11</runtime>
<threadsafe>true</threadsafe>

<!-- Configure java.util.logging -->
Expand Down

0 comments on commit ba53f2d

Please sign in to comment.