void () { final String file1 = createFile("a/a.txt", "a"); final String file2 = createFile("b/a.txt", "b"); addArtifact(root() .archive("x.jar") .fileCopy(file1) .fileCopy(file2)); buildAll(); change(file1); buildAll(); assertDeletedAndCopied("out/artifacts/a/x.jar", "a/a.txt"); }