This message was deleted.
# community-support
s
This message was deleted.
v
I didn't try that yet, but I'd guess
substitute(project(":foo")).using(module("foo:bar"))
and then having a composite build producing
foo:bar
could work
e
party gradlephant Ohhhhhhh that is a workaround I guess, let me try
Haha I tried, it did not work, the dummy foo:bar is not found by gradle. Anyway, thanks @Vampire 🎉
v
Why dummy? Don't use dummy. I said use the one the the included build produces.
It will of course not work with the dummy coordinates unless you add a manual substitution rule for it on the build include
e
Yes I added a manual substitution rule for composite build ~
v
Better try with the actual coordinates. But I fear it will also not work.
e
So there are 2 substitution, project(“:foo”) to module(“foo:bar”) for all subproject in root build.gradle.kts, then module(“foo:bar”) to composite build project(“source”) in settings - includeBuild { dependencySubstitution { } }
v
Where?
Within
includeBuild(...) { dependencySubstitution { ... } }
? That will of course not work
e
(updated the location
v
Well, maybe it cannot work, I don't know, was just an idea. As I said, never tried that.
e
No problem~ nice to hear your ideas haha
👌 1