void () { VirtualFile file = createFile("file.txt", "a"); Artifact included = addArtifact("i", root().file(file)); Artifact a = addArtifact(archive("a.jar").artifact(included)); make(a); assertOutput(a, fs().archive("a.jar").file("file.txt", "a")); changeFile(file, "b"); make(a); assertOutput(a, fs().archive("a.jar").file("file.txt", "b")); }