void () { JpsArtifact a = addArtifact(root().fileCopy(createFile("a.txt"))); addModule("m", a.getOutputPath() + "/src"); buildArtifacts(a); createFileInArtifactOutput(a, "b.txt"); rebuildAllModulesAndArtifacts(); assertOutput(a, fs().file("a.txt").file("b.txt")); }