build: enable gradle configuration caching
Some checks failed
Build Artifacts / build (push) Has been cancelled
Build Artifacts / build-win-bundle (push) Has been cancelled
Build Test / tests (ubuntu-latest) (push) Has been cancelled
Build Test / tests (windows-latest) (push) Has been cancelled
CodeQL / Analyze (java) (push) Has been cancelled

This commit is contained in:
Skylot 2024-11-16 17:28:23 +00:00
parent 792e0d6f3a
commit 45df80f036
No known key found for this signature in database
GPG Key ID: 47A4975761262B6A
2 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View File

@ -21,6 +21,7 @@ build/
classes/ classes/
idea/ idea/
.gradle/ .gradle/
.kotlin/
node_modules/ node_modules/
.vscode/ .vscode/

View File

@ -2,6 +2,9 @@ org.gradle.warning.mode=all
org.gradle.parallel=true org.gradle.parallel=true
org.gradle.caching=true org.gradle.caching=true
org.gradle.configuration-cache=true
org.gradle.configuration-cache.problems=warn
# Flags for google-java-format (optimize imports by spotless) for Java >= 16. # Flags for google-java-format (optimize imports by spotless) for Java >= 16.
# Java < 9 will ignore unsupported flags (thanks to -XX:+IgnoreUnrecognizedVMOptions) # Java < 9 will ignore unsupported flags (thanks to -XX:+IgnoreUnrecognizedVMOptions)
org.gradle.jvmargs=-XX:+IgnoreUnrecognizedVMOptions \ org.gradle.jvmargs=-XX:+IgnoreUnrecognizedVMOptions \