Skip to content

Commit

Permalink
Separate output and input
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed Aug 20, 2019
1 parent 2012238 commit 10a908d
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,19 @@ public void setTarget(Iterable<File> target) {

/** Internal use only. */
@InputFiles
@Deprecated
public Iterable<File> getInternalTargetInput() {
return getInternalTarget();
}

/** Internal use only. */
@OutputFiles
@Deprecated
public Iterable<File> getInternalTarget() {
public Iterable<File> getInternalTargetOutput() {
return getInternalTarget();
}

private Iterable<File> getInternalTarget() {
// used to combine the special cache file and the real target
return Iterables.concat(ImmutableList.of(getCacheFile()), target);
}
Expand Down

0 comments on commit 10a908d

Please sign in to comment.