void () { JpsArtifact included = addArtifact("b", root().fileCopy(createFile("a.txt"))); JpsArtifact a = addArtifact(root().artifact(included)); buildArtifacts(a, included); createFileInArtifactOutput(included, "b.txt"); assertOutput(included, fs().file("a.txt").file("b.txt")); rebuildAllModulesAndArtifacts(); assertOutput(included, fs().file("a.txt").file("b.txt")); }