Hi, in a composite build project where every `incl...
# community-support
e
Hi, in a composite build project where every
includedBuild
is a standalone project (can be open/built independently). Is there a way to share the gradle wrapper properties? The idea to make gradle update simpler. Right now I have to update the wrapper properties file in every included build.
Copy code
./gradle/wrapper/gradle-wrapper.properties
./project-a/gradle/wrapper/gradle-wrapper.properties
./project-b/gradle/wrapper/gradle-wrapper.properties
...
Maybe symlink but I wonder if there's a cleaner way? The
gradlew
executable might also need to be sync/shared.
actually symlink won't work
v
Because?
e
Actually you made me doubt so tried a little more and it work! Is it something that should be documented if this is the practice?
v
Well, that's maybe slightly outside the focus of Gradle itself, but you are free to suggest adding it to the docs via ticket. Whether it is an appropriate solution depends on whether you can use symlinks. For them to with properly on Windows you für example have to put all OS to developer mode.
e
Because of the windows issue I'm not sure I would document this workaround. That would be nice if gradle proposed something to solve this problem (better than a symlink based solution). Not sure what it would be...
fyi, looks like we have similar issue than https://github.com/gradle/gradle/issues/27940
😭 1
We're using Gradle 8.7