This message was deleted.
# community-support
s
This message was deleted.
a
how large are the binaries? How many subprojects are they shared between?
c
The binaries are ~400mb and they are like 25 projects in tottal
a
those are definitely files you want to be shared then :)
c
It's shared between all the projects
I download it as a tar
Then extract it
Sorry i ll update the comment to make it clear
It's a one tar archive
a
my guess is that shared build services aren’t what you need here, but instead setting up sharing files between subprojects https://docs.gradle.org/current/userguide/cross_project_publications.html the end result would mean that one subproject (which could be the root one) is nominated as the ‘source’. It would download the binaries via the task you’ve created. Other subprojects could add a dependency on the root subproject, and via a specific Gradle Configuration gain access to the files. This would be safe with Gradle parallelization/caching
c
Greatt i ll check it then
Thank you
a
no problem! Check back if you have more questions There’s this example on the website which is from a previous version, but it’s still valid: https://docs.gradle.org/7.3/samples/sample_jvm_multi_project_with_code_coverage.html
v
Another option would probably be to not download the file manually, but define a repository as Ivy repository where the file can be downloaded and then let Gradle download and cache the file. Then it might even be reused between build invocations.