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

Grails 7: Gradle is caching. BootRun does not show changes #13704

Open
arjangch opened this issue Sep 29, 2024 · 1 comment
Open

Grails 7: Gradle is caching. BootRun does not show changes #13704

arjangch opened this issue Sep 29, 2024 · 1 comment

Comments

@arjangch
Copy link

Expected Behavior

Any changes to build.gradle should take effect after re-running "bootRun"

Actual Behaviour

You will not see any changes after re-run. You need to "clean" first then "bootRun".
There are some caching somewhere.

Steps To Reproduce

1- bootRun your app.
2- Do any changes to build.gradle.
3- bootRun your app again. You won't see change
4- clean your project. "./gradlew clean"
5- bootRun again. Now you see your changes.

Environment Information

  • Macos
  • java=22.0.2-zulu
  • gradle=8.10
  • groovy=4.0.22
  • grails=7.0.0-SNAPSHOT

Example Application

https://github.com/jamesfredley/grails-website-test/tree/7.0.0-SNAPSHOT

Version

grails=7.0.0-SNAPSHOT

@jamesfredley jamesfredley moved this to Todo in Grails 7 Sep 29, 2024
@jamesfredley
Copy link
Contributor

In gradle.properties try changing the following:

org.gradle.caching=true

org.gradle.caching=false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants