Boost build speed

This commit is contained in:
Dreeam
2022-10-28 15:54:08 -04:00
parent 9f64368cdd
commit b316800883
2 changed files with 3 additions and 3 deletions

View File

@@ -32,10 +32,10 @@ jobs:
chmod u+x gradlew
- name: Apply patches
run: |
./gradlew applyPatches --stacktrace --no-daemon
./gradlew -Dorg.gradle.jvmargs="-Dgraal.CompilerConfiguration=enterprise -Dgraal.UsePriorityInlining=true -Dgraal.Vectorization=true -Dgraal.OptDuplication=true --add-modules jdk.incubator.vector" applyPatches --stacktrace --no-daemon
- name: Build a paperclip jar
run: |
./gradlew createReobfPaperclipJar --stacktrace --no-daemon
./gradlew -Dorg.gradle.jvmargs="-Dgraal.CompilerConfiguration=enterprise -Dgraal.UsePriorityInlining=true -Dgraal.Vectorization=true -Dgraal.OptDuplication=true --add-modules jdk.incubator.vector" createReobfPaperclipJar --stacktrace --no-daemon
- name: Rename Jar
run: "mv build/libs/keyi-paperclip-${{ env.MC_VERSION }}-R0.1-SNAPSHOT-reobf.jar build/libs/keyi-${{ env.ref }}-${{ env.MC_VERSION }}-${{ env.workflow }}.jar"
- name: Release Artifacts

View File

@@ -6,4 +6,4 @@ purpurCommit = 0d5fd505e5a82ea9e9d8afb35f72c5c3e03a4a9b
org.gradle.caching = true
org.gradle.parallel = true
org.gradle.vfs.watch = false
org.gradle.jvmargs = -Xmx1G
org.gradle.jvmargs = -Xmx3G