Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Gradle's configuration cache by default #3278

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/actions/main-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@ runs:
with:
name: Test Distribution trace files (${{ github.job }})
path: '**/build/test-results/*/trace.json'
- uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: Configuration Cache reports (${{ github.job }})
path: 'build/reports/configuration-cache/**'
5 changes: 5 additions & 0 deletions .github/workflows/cross-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,8 @@ jobs:
with:
name: "Test Distribution trace files (OpenJDK ${{ matrix.jdk }})"
path: '**/build/test-results/*/trace.json'
- uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: "Configuration Cache reports (OpenJDK ${{ matrix.jdk }})"
path: 'build/reports/configuration-cache/**'
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ org.gradle.jvmargs=-Xmx1g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryEr
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
org.gradle.caching=true
org.gradle.parallel=true
org.gradle.configuration-cache=true
org.gradle.java.installations.fromEnv=JDK8,JDK18,JDK19,JDK20,JDK21

# Test Distribution
Expand Down