Hi!
I've a single, multiproject setup in IDEA, with, say, ModA and ModB in it, and ModB depend on the code of ModA. It's working fine so far, they only problem is run configurations
How do I include ModA in the run config of ModB?
I've tried to add a new "mod" unders the mods list of the run config of ModB, like so:
runs {
server {
workingDirectory runDir
// Recommended logging data for a userdev environment
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
// Recommended logging level for the console
property 'forge.logging.console.level', 'debug'
mods {
moda {
source project(':moda').sourceSets.main
}
modb {
source sourceSets.main
}
}
}
client {
//same stuff basically
}
}
but that project(':moda').sourceSets.main, for some reasons, seems to resolve to the source set of the root project, not the one of the subproject "moda"
How do I do that?
thank you!