Skip to content

Commit b5d2efd

Browse files
committed
- upgrades CI and tooling to java 17
1 parent b9e9f0d commit b5d2efd

File tree

13 files changed

+322
-224
lines changed

13 files changed

+322
-224
lines changed

.github/workflows/api-level-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/setup-java@v2
2020
with:
2121
distribution: 'adopt'
22-
java-version: 16
22+
java-version: 17
2323
- name: Setup Android SDK
2424
uses: android-actions/[email protected]
2525
- name: Add execution right to the script

.github/workflows/build-and-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up JDK
2727
uses: actions/setup-java@v2
2828
with:
29-
java-version: '16'
29+
java-version: 17
3030
distribution: 'adopt'
3131
cache: gradle
3232
- name: Download file
@@ -58,7 +58,7 @@ jobs:
5858
- name: Set up JDK
5959
uses: actions/setup-java@v2
6060
with:
61-
java-version: '16'
61+
java-version: 17
6262
distribution: 'adopt'
6363
cache: gradle
6464
- name: Download file

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- uses: actions/setup-java@v2
2727
with:
2828
distribution: 'adopt'
29-
java-version: 16
29+
java-version: 17
3030

3131
# If this run was triggered by a pull request event, then checkout
3232
# the head of the pull request instead of the merge commit.

.github/workflows/gradle-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v2
19-
- name: Set up JDK 16
19+
- name: Set up JDK
2020
uses: actions/setup-java@v2
2121
with:
22-
java-version: '16'
22+
java-version: 17
2323
distribution: 'adopt'
2424
cache: gradle
2525
- name: Easy detect-secrets

.github/workflows/sample-build-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/setup-java@v2
1616
with:
1717
distribution: 'adopt'
18-
java-version: 16
18+
java-version: 17
1919
- name: Add execution right to the script
2020
run: chmod +x gradlew
2121
working-directory: ./samples/deviceCodeSample
@@ -29,7 +29,7 @@ jobs:
2929
- uses: actions/setup-java@v2
3030
with:
3131
distribution: 'adopt'
32-
java-version: 16
32+
java-version: 17
3333
- name: Add execution right to the script
3434
run: chmod +x gradlew
3535
working-directory: ./samples/interactiveBrowserSample

android/gradle.properties

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

1010
# Specifies the JVM arguments used for the daemon process.
1111
# The setting is particularly useful for tweaking memory settings.
12-
# Default value: -Xmx10248m -XX:MaxPermSize=256m
13-
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
12+
# Default value: -Xmx10248m
13+
# org.gradle.jvmargs=-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
1414

1515
# When configured, Gradle will run in incubating parallel mode.
1616
# This option should only be used with decoupled projects. More details, visit
@@ -19,7 +19,7 @@
1919

2020
# The size of the library demands a large amount of RAM to build. Increase as necessary if you get GC errors
2121
## linux requires 10G, OSX requires 11G
22-
org.gradle.jvmargs=-XX:MaxPermSize=512m -Xmx2g
22+
org.gradle.jvmargs=-Xmx2g
2323
org.gradle.parallel=true
2424
org.gradle.caching=true
2525

333 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)