Skip to content

Commit

Permalink
[skip ci] Remove CI-specific Gradle config
Browse files Browse the repository at this point in the history
Newer versions of gradle-build-action allows the daemon to persist across build steps
  • Loading branch information
arkon committed Jun 11, 2022
1 parent e15a867 commit 1e64542
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 16 deletions.
5 changes: 0 additions & 5 deletions .github/runner-files/ci-gradle.properties

This file was deleted.

5 changes: 0 additions & 5 deletions .github/workflows/build_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ jobs:
java-version: 11
distribution: adopt

- name: Copy CI gradle.properties
run: |
mkdir -p ~/.gradle
cp .github/runner-files/ci-gradle.properties ~/.gradle/gradle.properties
- name: Build app and run unit tests
uses: gradle/gradle-command-action@v2
with:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ jobs:
java-version: 11
distribution: adopt

- name: Copy CI gradle.properties
run: |
mkdir -p ~/.gradle
cp .github/runner-files/ci-gradle.properties ~/.gradle/gradle.properties
- name: Build app and run unit tests
uses: gradle/gradle-command-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx10248m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
org.gradle.jvmargs=-Xmx4096m
org.gradle.jvmargs=-Xmx5120m

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
Expand Down

0 comments on commit 1e64542

Please sign in to comment.