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

Use Gradle config cache #176

Closed
raoulvdberge opened this issue Sep 6, 2024 · 0 comments · Fixed by #180
Closed

Use Gradle config cache #176

raoulvdberge opened this issue Sep 6, 2024 · 0 comments · Fixed by #180
Labels
enhancement New feature or request

Comments

@raoulvdberge
Copy link
Contributor

raoulvdberge commented Sep 6, 2024

Describe your enhancement

Update Loom so we can use this.
Also configure configureondemand:

org.gradle.configureondemand=true
org.gradle.caching=true
org.gradle.configuration-cache=true
org.gradle.configuration-cache.problems=warn

While doing this we should also use the new recommended way of using processResources so we can use run using IntelliJ:
https://github.com/neoforged/MDK/pull/97/files

Should also use Modmuss' new gradle plugin for publishing, as Minotaur doesn't work with the config cache:
https://github.com/modmuss50/mod-publish-plugin

@raoulvdberge raoulvdberge added the enhancement New feature or request label Sep 6, 2024
raoulvdberge added a commit that referenced this issue Sep 10, 2024
raoulvdberge added a commit that referenced this issue Sep 10, 2024
build: update the way secrets are injected for publishing
raoulvdberge added a commit that referenced this issue Sep 10, 2024
…leases

build: disable config cache on releases
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant