From 94ad605f975fc89d94a10daff5a438055c39e1ef Mon Sep 17 00:00:00 2001 From: sbansla Date: Tue, 7 Oct 2025 16:29:02 +0530 Subject: [PATCH 1/2] added java 21 tests --- .github/workflows/test-and-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index ea0fbb2565..c26d7af864 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -17,7 +17,7 @@ jobs: timeout-minutes: 20 strategy: matrix: - java: [ 8, 11, 17 ] + java: [ 8, 11, 17, 21 ] steps: - name: Checkout twilio-java uses: actions/checkout@v3 From 6f5bebc18919b0d407dafb4da6411e3c96413729 Mon Sep 17 00:00:00 2001 From: manisha1997 Date: Tue, 9 Dec 2025 16:55:33 +0530 Subject: [PATCH 2/2] Chore: java version being dynamic --- pom.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index e3c5518c44..634d766a12 100644 --- a/pom.xml +++ b/pom.xml @@ -176,6 +176,7 @@ twilio-java **/test/**/*.*,**/rest/**/*.* **/rest/**/*.* + ${java.version} @@ -349,8 +350,8 @@ maven-compiler-plugin 3.8.1 - 8 - 8 + ${java.version} + ${java.version} true true @@ -494,4 +495,4 @@ - \ No newline at end of file +