Skip to content

Commit bec401c

Browse files
authored
feat: NDK 27 and Support for Java 21 (#1819)
1 parent 3633aed commit bec401c

File tree

14 files changed

+88
-71
lines changed

14 files changed

+88
-71
lines changed

.github/workflows/npm_release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88
env:
99
NPM_TAG: "next"
1010
EMULATOR_NAME: "runtime-emu"
11-
NDK_VERSION: r23c
12-
ANDROID_API: 29
11+
NDK_VERSION: r27
12+
ANDROID_API: 33
1313
ANDROID_ABI: x86_64
1414
NDK_ARCH: darwin
1515

@@ -27,12 +27,12 @@ jobs:
2727
submodules: true
2828
- uses: actions/setup-node@v3
2929
with:
30-
node-version: 18
30+
node-version: 22
3131
registry-url: "https://registry.npmjs.org"
3232
- uses: actions/setup-java@v3
3333
with:
3434
distribution: "temurin"
35-
java-version: "17"
35+
java-version: "21"
3636
cache: gradle
3737
- name: Setup Android SDK
3838
uses: android-actions/setup-android@v2
@@ -93,12 +93,12 @@ jobs:
9393
submodules: true
9494
- uses: actions/setup-node@v3
9595
with:
96-
node-version: 18
96+
node-version: 22
9797
registry-url: "https://registry.npmjs.org"
9898
- uses: actions/setup-java@v3
9999
with:
100100
distribution: "temurin"
101-
java-version: "17"
101+
java-version: "21"
102102
cache: gradle
103103
- name: Setup Android SDK
104104
uses: android-actions/setup-android@v2
@@ -144,7 +144,7 @@ jobs:
144144
steps:
145145
- uses: actions/setup-node@v3
146146
with:
147-
node-version: 18
147+
node-version: 22
148148
registry-url: "https://registry.npmjs.org"
149149
- uses: actions/download-artifact@v4
150150
with:
@@ -173,7 +173,7 @@ jobs:
173173
fetch-depth: 0
174174
- uses: actions/setup-node@v3
175175
with:
176-
node-version: 18
176+
node-version: 22
177177
- name: Setup
178178
run: npm install
179179
- uses: actions/download-artifact@v4

.github/workflows/pull_request.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on:
44
env:
55
NPM_TAG: "pr"
66
EMULATOR_NAME: "runtime-emu"
7-
NDK_VERSION: r23c
8-
ANDROID_API: 29
7+
NDK_VERSION: r27
8+
ANDROID_API: 33
99
ANDROID_ABI: x86_64
1010
NDK_ARCH: darwin
1111

@@ -24,12 +24,12 @@ jobs:
2424
submodules: true
2525
- uses: actions/setup-node@v3
2626
with:
27-
node-version: 18
27+
node-version: 22
2828
registry-url: "https://registry.npmjs.org"
2929
- uses: actions/setup-java@v3
3030
with:
3131
distribution: "temurin"
32-
java-version: "17"
32+
java-version: "21"
3333
cache: gradle
3434
- name: Setup Android SDK
3535
uses: android-actions/setup-android@v2
@@ -89,12 +89,12 @@ jobs:
8989
submodules: true
9090
- uses: actions/setup-node@v3
9191
with:
92-
node-version: 18
92+
node-version: 22
9393
registry-url: "https://registry.npmjs.org"
9494
- uses: actions/setup-java@v3
9595
with:
9696
distribution: "temurin"
97-
java-version: "17"
97+
java-version: "21"
9898
cache: gradle
9999
- name: Setup Android SDK
100100
uses: android-actions/setup-android@v2

gradle/wrapper/gradle-wrapper.jar

-16.8 KB
Binary file not shown.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists

gradlew

Lines changed: 25 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 13 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@
1111
],
1212
"version_info": {
1313
"v8": "10.3.22.0",
14-
"gradle": "8.4",
15-
"gradleAndroid": "8.3.2",
16-
"ndk": "r23c",
17-
"ndkApiLevel": "17",
18-
"minSdk": "17",
19-
"compileSdk": "34",
20-
"buildTools": "34.0.0",
14+
"gradle": "8.7",
15+
"gradleAndroid": "8.5.0",
16+
"ndk": "r27",
17+
"ndkApiLevel": "21",
18+
"minSdk": "21",
19+
"compileSdk": "35",
20+
"buildTools": "35.0.0",
2121
"kotlin": "2.0.0"
2222
},
2323
"// this gradle key is here for backwards compatibility - we'll phase it out slowly...": "",
2424
"gradle": {
25-
"version": "8.4",
26-
"android": "8.3.2"
25+
"version": "8.7",
26+
"android": "8.5.0"
2727
},
2828
"scripts": {
2929
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",

test-app/build-tools/android-metadata-generator/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apply plugin: 'java'
22
apply plugin: 'kotlin'
33

44
java {
5-
sourceCompatibility = '17'
6-
targetCompatibility = '17'
5+
sourceCompatibility = JavaVersion.VERSION_17
6+
targetCompatibility = JavaVersion.VERSION_17
77
}
88

99
// todo: check if still needed

test-app/runtime-binding-generator/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ dependencies {
77
}
88

99
java {
10-
sourceCompatibility = '17'
11-
targetCompatibility = '17'
10+
sourceCompatibility = JavaVersion.VERSION_17
11+
targetCompatibility = JavaVersion.VERSION_17
1212
}
1313

1414
// Disable compilation tasks as these are compiled *with* the runtime and not separately

0 commit comments

Comments
 (0)