How do you manage your Gradle wrappers when using ...
# community-support
m
How do you manage your Gradle wrappers when using included builds? I used to do symlinks but looks like this breaks on windows. Is there a solution where I can share a single wrapper between different included builds?
1
m
I'm copying them in all projects, since they are supposed to be buildable independently
🙏 1
not a great solution though as it needs sync'ing
👍 1
e
I just don't put wrappers into the included builds. the IDE doesn't need a wrapper, and from the command line
../gradlew
etc. works fine (I have a wrapper script that looks up parent dirs until it finds a wrapper)
m
the IDE doesn't need a wrapper
Damn I always assumed it did. DIdn't it creates the wrapper automatically?
Tried removing them and IJ just added them again
Kind of makes sense I guess to ensure the Gradle version used by the IDE is the same as the one used by the command line?