Skip to content

Commit

Permalink
enable parallel build and build cache
Browse files Browse the repository at this point in the history
  • Loading branch information
deirn committed Jul 19, 2024
1 parent e6dd627 commit 97833ac
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: true
- run: ./gradlew apiJavadoc --max-workers=1
- run: ./gradlew apiJavadoc
env:
GIT_HASH: ${{ steps.vars.outputs.git_hash }}
- run: pip install mkdocs-material
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/head.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: ${{ github.repository != 'badasintended/wthit' }}
- run: ./gradlew build --max-workers=1
- run: ./gradlew build
env:
GIT_HASH: ${{ steps.vars.outputs.git_hash }}
- uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: true
- run: ./gradlew build publishMods publish --max-workers=1
- run: ./gradlew build publishMods publish
env:
MOD_VERSION: ${{ steps.parse.outputs.version }}
GITHUB_TOKEN: ${{ github.token }}
Expand Down
48 changes: 25 additions & 23 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,33 +1,35 @@
org.gradle.jvmargs = -Xmx3G
org.gradle.jvmargs = -Xmx3G
org.gradle.parallel = true
org.gradle.caching = true

minecraft = 1.21
minecraft = 1.21

archiveBaseName = wthit
group = mcp.mobius.waila
majorVersion = 12
archiveBaseName = wthit
group = mcp.mobius.waila
majorVersion = 12

# [rei, jei, emi]
recipeViewer = none
recipeViewer = none

badpackets = 0.8.1
rei = 13.0.666
jei = 1.20.2-16.0.0.28
emi = 1.0.23+1.20.2
badpackets = 0.8.1
rei = 13.0.666
jei = 1.20.2-16.0.0.28
emi = 1.0.23+1.20.2

fabricLoader = 0.15.11
fabricApi = 0.99.5+1.21
modMenu = 10.0.0-alpha.3
trEnergy = 3.0.0
fabricLoader = 0.15.11
fabricApi = 0.99.5+1.21
modMenu = 10.0.0-alpha.3
trEnergy = 3.0.0

forge = 51.0.8
neo = 21.0.40-beta
forge = 51.0.8
neo = 21.0.40-beta

architectury = 10.0.7
clothConfig = 12.0.107
architectury = 10.0.7
clothConfig = 12.0.107

quiltLoader = 0.24.0
qsl = 8.0.0-alpha.12+1.20.4
qfapi = 9.0.0-alpha.7+0.96.11-1.20.4
quiltLoader = 0.24.0
qsl = 8.0.0-alpha.12+1.20.4
qfapi = 9.0.0-alpha.7+0.96.11-1.20.4

spigotApi = 1.18.2-R0.1-SNAPSHOT
paperclip = 1.18.2-313
spigotApi = 1.18.2-R0.1-SNAPSHOT
paperclip = 1.18.2-313

0 comments on commit 97833ac

Please sign in to comment.