From 015bc03e3b40efe4e5ebae7efdeb9b6134ce3f79 Mon Sep 17 00:00:00 2001 From: regeter <2320305+regeter@users.noreply.github.com> Date: Thu, 12 Sep 2024 21:19:32 -0700 Subject: [PATCH] build: Deploy to AppEngine to use Java17 --- backend/build.gradle | 6 +++--- backend/src/main/webapp/WEB-INF/appengine-web.xml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/build.gradle b/backend/build.gradle index da8e3ed..8a14c34 100644 --- a/backend/build.gradle +++ b/backend/build.gradle @@ -122,8 +122,8 @@ test { } } -group = "com.example.appenginej8" // Generated output GroupId +group = "com.example.backend" // Generated output GroupId version = "1.0-SNAPSHOT" // Version in generated output -sourceCompatibility = 1.8 // App Engine Flexible uses Java 8 -targetCompatibility = 1.8 // App Engine Flexible uses Java 8 +sourceCompatibility = JavaVersion.VERSION_17 +targetCompatibility = JavaVersion.VERSION_17 diff --git a/backend/src/main/webapp/WEB-INF/appengine-web.xml b/backend/src/main/webapp/WEB-INF/appengine-web.xml index 4fc8fcd..3d1852d 100644 --- a/backend/src/main/webapp/WEB-INF/appengine-web.xml +++ b/backend/src/main/webapp/WEB-INF/appengine-web.xml @@ -14,7 +14,7 @@ limitations under the License. --> - java11 + java17 YOUR-APPID-HERE 1