Browse Source

Update java runtime version to support appengine. (#3750)

pull/3754/head
mandlil 1 year ago
committed by GitHub
parent
commit
e68c06540b
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      java/demo/pom.xml
  2. +1
    -1
      java/demo/src/main/webapp/WEB-INF/appengine-web.xml

+ 2
- 2
java/demo/pom.xml View File

@ -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>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</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>


+ 1
- 1
java/demo/src/main/webapp/WEB-INF/appengine-web.xml View File

@ -2,7 +2,7 @@
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
<application>libphonenumber-hrd</application>
<version>1</version>
<runtime>java11</runtime>
<runtime>java17</runtime>
<threadsafe>true</threadsafe>
<!-- Configure java.util.logging -->


Loading…
Cancel
Save