Skip to content

Commit 996147e

Browse files
committed
Merge branch 'release/0.6.5' into main
2 parents ad022b0 + a82104a commit 996147e

File tree

2,144 files changed

+10330
-6851
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,144 files changed

+10330
-6851
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99

1010
# Enrich gradle.properties for CI/CD
1111
env:
12-
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g -Dkotlin.incremental=false
13-
CI_GRADLE_ARG_PROPERTIES: --stacktrace -Dsonar.gradle.skipCompile=true
12+
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g
13+
CI_GRADLE_ARG_PROPERTIES: --stacktrace -Dsonar.gradle.skipCompile=true --no-configuration-cache
1414

1515
jobs:
1616
debug:
@@ -30,11 +30,11 @@ jobs:
3030
# Ensure we are building the branch and not the branch after being merged on develop
3131
# https://github.com/actions/checkout/issues/881
3232
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }}
33-
- name: Use JDK 17
33+
- name: Use JDK 21
3434
uses: actions/setup-java@v4
3535
with:
3636
distribution: 'temurin' # See 'Supported distributions' for available options
37-
java-version: '17'
37+
java-version: '21'
3838
- name: Configure gradle
3939
uses: gradle/actions/setup-gradle@v4
4040
with:

.github/workflows/build_enterprise.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99

1010
# Enrich gradle.properties for CI/CD
1111
env:
12-
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g -Dkotlin.incremental=false
13-
CI_GRADLE_ARG_PROPERTIES: --stacktrace -Dsonar.gradle.skipCompile=true
12+
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g
13+
CI_GRADLE_ARG_PROPERTIES: --stacktrace -Dsonar.gradle.skipCompile=true --no-configuration-cache
1414

1515
jobs:
1616
build:
@@ -38,11 +38,11 @@ jobs:
3838
ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }}
3939
- name: Clone submodules
4040
run: git submodule update --init --recursive
41-
- name: Use JDK 17
41+
- name: Use JDK 21
4242
uses: actions/setup-java@v4
4343
with:
4444
distribution: 'temurin' # See 'Supported distributions' for available options
45-
java-version: '17'
45+
java-version: '21'
4646
- name: Configure gradle
4747
uses: gradle/actions/setup-gradle@v4
4848
with:

.github/workflows/generate_github_pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
steps:
1414
- name: ⏬ Checkout with LFS
1515
uses: nschloe/[email protected]
16-
- name: Use JDK 17
16+
- name: Use JDK 21
1717
uses: actions/setup-java@v4
1818
with:
1919
distribution: 'temurin' # See 'Supported distributions' for available options
20-
java-version: '17'
20+
java-version: '21'
2121
- name: Configure gradle
2222
uses: gradle/actions/setup-gradle@v4
2323
with:

.github/workflows/gradle-wrapper-update.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-java@v4
16-
name: Use JDK 17
16+
name: Use JDK 21
1717
if: (github.event_name == 'pull_request' && github.event.pull_request.fork == null) || github.event_name == 'workflow_dispatch'
1818
with:
1919
distribution: 'temurin' # See 'Supported distributions' for available options
20-
java-version: '17'
20+
java-version: '21'
2121
- name: Update Gradle Wrapper
22-
uses: gradle-update/update-gradle-wrapper-action@v1
22+
uses: gradle-update/update-gradle-wrapper-action@v2
2323
with:
2424
repo-token: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
2525
target-branch: develop

.github/workflows/maestro.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88

99
# Enrich gradle.properties for CI/CD
1010
env:
11-
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g -Dkotlin.incremental=false
12-
CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true
11+
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g
12+
CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true --no-configuration-cache
1313

1414
jobs:
1515
build-apk:
@@ -33,11 +33,11 @@ jobs:
3333
# https://github.com/actions/checkout/issues/881
3434
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }}
3535
- uses: actions/setup-java@v4
36-
name: Use JDK 17
36+
name: Use JDK 21
3737
if: (github.event_name == 'pull_request' && github.event.pull_request.fork == null) || github.event_name == 'workflow_dispatch'
3838
with:
3939
distribution: 'temurin' # See 'Supported distributions' for available options
40-
java-version: '17'
40+
java-version: '21'
4141
- name: Configure gradle
4242
uses: gradle/actions/setup-gradle@v4
4343
with:

.github/workflows/nightly.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
- cron: "0 4 * * *"
88

99
env:
10-
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g -Dkotlin.incremental=false
11-
CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true
10+
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g
11+
CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true --no-configuration-cache
1212

1313
jobs:
1414
nightly:
@@ -17,11 +17,11 @@ jobs:
1717
if: ${{ github.repository == 'element-hq/element-x-android' }}
1818
steps:
1919
- uses: actions/checkout@v4
20-
- name: Use JDK 17
20+
- name: Use JDK 21
2121
uses: actions/setup-java@v4
2222
with:
2323
distribution: 'temurin' # See 'Supported distributions' for available options
24-
java-version: '17'
24+
java-version: '21'
2525
- name: Build and upload Nightly application
2626
run: |
2727
./gradlew assembleGplayNightly appDistributionUploadGplayNightly $CI_GRADLE_ARG_PROPERTIES

.github/workflows/nightlyReports.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88

99
# Enrich gradle.properties for CI/CD
1010
env:
11-
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g -Dkotlin.incremental=false
12-
CI_GRADLE_ARG_PROPERTIES: --stacktrace -Dsonar.gradle.skipCompile=true
11+
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g
12+
CI_GRADLE_ARG_PROPERTIES: --stacktrace -Dsonar.gradle.skipCompile=true --no-configuration-cache
1313

1414
jobs:
1515
nightlyReports:
@@ -20,11 +20,11 @@ jobs:
2020
- name: ⏬ Checkout with LFS
2121
uses: nschloe/[email protected]
2222

23-
- name: Use JDK 17
23+
- name: Use JDK 21
2424
uses: actions/setup-java@v4
2525
with:
2626
distribution: 'temurin' # See 'Supported distributions' for available options
27-
java-version: '17'
27+
java-version: '21'
2828

2929
- name: Configure gradle
3030
uses: gradle/actions/setup-gradle@v4
@@ -61,11 +61,11 @@ jobs:
6161
runs-on: ubuntu-latest
6262
steps:
6363
- uses: actions/checkout@v4
64-
- name: Use JDK 17
64+
- name: Use JDK 21
6565
uses: actions/setup-java@v4
6666
with:
6767
distribution: 'temurin' # See 'Supported distributions' for available options
68-
java-version: '17'
68+
java-version: '21'
6969
- name: Configure gradle
7070
uses: gradle/actions/setup-gradle@v4
7171
with:

.github/workflows/nightly_enterprise.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
- cron: "0 4 * * *"
88

99
env:
10-
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g -Dkotlin.incremental=false
11-
CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true
10+
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g
11+
CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true --no-configuration-cache
1212

1313
jobs:
1414
nightly:
@@ -23,11 +23,11 @@ jobs:
2323
ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }}
2424
- name: Clone submodules
2525
run: git submodule update --init --recursive
26-
- name: Use JDK 17
26+
- name: Use JDK 21
2727
uses: actions/setup-java@v4
2828
with:
2929
distribution: 'temurin' # See 'Supported distributions' for available options
30-
java-version: '17'
30+
java-version: '21'
3131
- name: Build and upload Nightly application
3232
run: |
3333
./gradlew assembleGplayNightly appDistributionUploadGplayNightly $CI_GRADLE_ARG_PROPERTIES

.github/workflows/quality.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99

1010
# Enrich gradle.properties for CI/CD
1111
env:
12-
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g -Dkotlin.incremental=false
13-
CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true
12+
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g
13+
CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true --no-configuration-cache
1414

1515
jobs:
1616
checkScript:
@@ -46,11 +46,11 @@ jobs:
4646
runs-on: ubuntu-latest
4747
steps:
4848
- uses: actions/checkout@v4
49-
- name: Use JDK 17
49+
- name: Use JDK 21
5050
uses: actions/setup-java@v4
5151
with:
5252
distribution: 'temurin' # See 'Supported distributions' for available options
53-
java-version: '17'
53+
java-version: '21'
5454
- name: Configure gradle
5555
uses: gradle/actions/setup-gradle@v4
5656
with:
@@ -84,11 +84,11 @@ jobs:
8484
- name: Clone submodules
8585
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }}
8686
run: git submodule update --init --recursive
87-
- name: Use JDK 17
87+
- name: Use JDK 21
8888
uses: actions/setup-java@v4
8989
with:
9090
distribution: 'temurin' # See 'Supported distributions' for available options
91-
java-version: '17'
91+
java-version: '21'
9292
- name: Configure gradle
9393
uses: gradle/actions/setup-gradle@v4
9494
with:
@@ -124,11 +124,11 @@ jobs:
124124
- name: Clone submodules
125125
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }}
126126
run: git submodule update --init --recursive
127-
- name: Use JDK 17
127+
- name: Use JDK 21
128128
uses: actions/setup-java@v4
129129
with:
130130
distribution: 'temurin' # See 'Supported distributions' for available options
131-
java-version: '17'
131+
java-version: '21'
132132
- name: Configure gradle
133133
uses: gradle/actions/setup-gradle@v4
134134
with:
@@ -168,11 +168,11 @@ jobs:
168168
- name: Clone submodules
169169
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }}
170170
run: git submodule update --init --recursive
171-
- name: Use JDK 17
171+
- name: Use JDK 21
172172
uses: actions/setup-java@v4
173173
with:
174174
distribution: 'temurin' # See 'Supported distributions' for available options
175-
java-version: '17'
175+
java-version: '21'
176176
- name: Configure gradle
177177
uses: gradle/actions/setup-gradle@v4
178178
with:
@@ -208,11 +208,11 @@ jobs:
208208
- name: Clone submodules
209209
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }}
210210
run: git submodule update --init --recursive
211-
- name: Use JDK 17
211+
- name: Use JDK 21
212212
uses: actions/setup-java@v4
213213
with:
214214
distribution: 'temurin' # See 'Supported distributions' for available options
215-
java-version: '17'
215+
java-version: '21'
216216
- name: Configure gradle
217217
uses: gradle/actions/setup-gradle@v4
218218
with:
@@ -248,11 +248,11 @@ jobs:
248248
- name: Clone submodules
249249
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }}
250250
run: git submodule update --init --recursive
251-
- name: Use JDK 17
251+
- name: Use JDK 21
252252
uses: actions/setup-java@v4
253253
with:
254254
distribution: 'temurin' # See 'Supported distributions' for available options
255-
java-version: '17'
255+
java-version: '21'
256256
- name: Configure gradle
257257
uses: gradle/actions/setup-gradle@v4
258258
with:

.github/workflows/recordScreenshots.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ on:
77

88
# Enrich gradle.properties for CI/CD
99
env:
10-
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g -Dkotlin.incremental=false -Dsonar.gradle.skipCompile=true
10+
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g -Dsonar.gradle.skipCompile=true
11+
CI_GRADLE_ARG_PROPERTIES: --no-configuration-cache
1112

1213
jobs:
1314
record:
@@ -32,11 +33,11 @@ jobs:
3233
uses: nschloe/[email protected]
3334
with:
3435
persist-credentials: false
35-
- name: ☕️ Use JDK 17
36+
- name: ☕️ Use JDK 21
3637
uses: actions/setup-java@v4
3738
with:
3839
distribution: 'temurin' # See 'Supported distributions' for available options
39-
java-version: '17'
40+
java-version: '21'
4041
# Add gradle cache, this should speed up the process
4142
- name: Configure gradle
4243
uses: gradle/actions/setup-gradle@v4
@@ -48,3 +49,4 @@ jobs:
4849
env:
4950
GITHUB_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN || secrets.GITHUB_TOKEN }}
5051
GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }}
52+
GRADLE_ARGS: ${{ env.CI_GRADLE_ARG_PROPERTIES }}

0 commit comments

Comments
 (0)