Skip to content

Commit

Permalink
Merge pull request #434 from ZacSweers/z/fixGradleWarning
Browse files Browse the repository at this point in the history
Try fixing #427
  • Loading branch information
nedtwigg committed Aug 20, 2019
2 parents aa9484e + 10a908d commit e558cda
Showing 1 changed file with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import org.gradle.api.GradleException;
import org.gradle.api.tasks.Input;
import org.gradle.api.tasks.InputFiles;
import org.gradle.api.tasks.OutputFiles;
import org.gradle.api.tasks.TaskAction;
import org.gradle.api.tasks.incremental.IncrementalTaskInputs;

Expand Down Expand Up @@ -119,7 +120,18 @@ public void setTarget(Iterable<File> target) {
/** Internal use only. */
@InputFiles
@Deprecated
public Iterable<File> getInternalTarget() {
public Iterable<File> getInternalTargetInput() {
return getInternalTarget();
}

/** Internal use only. */
@OutputFiles
@Deprecated
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 e558cda

Please sign in to comment.