Skip to content

Commit 81caf57

Browse files
committed
- upgrades CI and tooling to java 17
1 parent c662cbf commit 81caf57

File tree

8 files changed

+165
-116
lines changed

8 files changed

+165
-116
lines changed

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

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

.github/workflows/gradle-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- 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
@@ -63,7 +63,7 @@ jobs:
6363
- name: Set up JDK
6464
uses: actions/setup-java@v2
6565
with:
66-
java-version: '16'
66+
java-version: '17'
6767
distribution: 'adopt'
6868
cache: gradle
6969
- name: Download Current Build

.github/workflows/preview-and-release.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: Easy detect-secrets
@@ -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: Easy detect-secrets

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

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

gradle/wrapper/gradle-wrapper.jar

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)