Skip to content

Commit 59d4bfe

Browse files
authored
Merge pull request #40 from OutSystems/feat/RDMR-1428/java21-defaults
RDMR-1428 Bump the Java default targets to 21
2 parents e325821 + 32ea50d commit 59d4bfe

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ jobs:
4949
with:
5050
node-version: ${{ matrix.node-version }}
5151

52-
- name: set up JDK 17
52+
- name: set up JDK 21
5353
uses: actions/setup-java@0f481fcb613427c0f801b606911222b5b6f3083a # v5.5.0
5454
with:
5555
distribution: 'temurin'
56-
java-version: '17'
56+
java-version: '21'
5757

5858
- name: Environment Information
5959
run: |

framework/cdv-gradle-config-defaults.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"IS_GRADLE_PLUGIN_GOOGLE_SERVICES_ENABLED": false,
1414
"IS_GRADLE_PLUGIN_KOTLIN_ENABLED": false,
1515
"PACKAGE_NAMESPACE": "org.apache.cordova.hellocordova",
16-
"JAVA_SOURCE_COMPATIBILITY": 11,
17-
"JAVA_TARGET_COMPATIBILITY": 11,
16+
"JAVA_SOURCE_COMPATIBILITY": 21,
17+
"JAVA_TARGET_COMPATIBILITY": 21,
1818
"KOTLIN_JVM_TARGET": null
1919
}

0 commit comments

Comments
 (0)