Heya, I'm wondering if it's possible to include a ...
# community-support
n
Heya, I'm wondering if it's possible to include a composite build that's located in a different directory than the project name, similar to what I'm doing for regular includes:
Copy code
setOf(...).forEach { mod ->
  include(":axi-$mod")
  project(":axi-$mod").projectDir = file(mod)
}
(is this better fitting for #CA745PZHN?)
p
Do you mean
includedBuild
? If so, you can use dependencySubstitution and substitute module using project.
v
The simple answer is yes, because with
includeBuild
you specific a directory, and the name is defined by the settings script. If it does not, the directory name is used, but that is discouraged bad practice.