Closed cbeust closed 7 years ago
As of 1.0.44, getDependenciesGraph returns an additional buildContentRoots parameter:
getDependenciesGraph
buildContentRoots
{ "projects": [], "allTasks": [], "pluginDependencies": [], "buildContentRoots": [ "kobalt", "module/test/kobalt" ] }
Each item in this array should be added as a Content Root for the Build.kt module, and then, each of them should add a source directory called "src".
Build.kt
"src"
For the example above, this means that from the root of the project, both kobalt/src and modules/test/kobalt/src contain build files.
kobalt/src
modules/test/kobalt/src
@cbeust Is it possible, that some of the directories mentioned in buildContentRoots not exist?
No, this should not happen.
As of 1.0.44,
getDependenciesGraph
returns an additionalbuildContentRoots
parameter:Each item in this array should be added as a Content Root for the
Build.kt
module, and then, each of them should add a source directory called"src"
.For the example above, this means that from the root of the project, both
kobalt/src
andmodules/test/kobalt/src
contain build files.