Skip to content

Commit 10a908d

Browse files
committed
Separate output and input
1 parent 2012238 commit 10a908d

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

plugin-gradle/src/main/java/com/diffplug/gradle/spotless/SpotlessTask.java

+11-1
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,19 @@ public void setTarget(Iterable<File> target) {
119119

120120
/** Internal use only. */
121121
@InputFiles
122+
@Deprecated
123+
public Iterable<File> getInternalTargetInput() {
124+
return getInternalTarget();
125+
}
126+
127+
/** Internal use only. */
122128
@OutputFiles
123129
@Deprecated
124-
public Iterable<File> getInternalTarget() {
130+
public Iterable<File> getInternalTargetOutput() {
131+
return getInternalTarget();
132+
}
133+
134+
private Iterable<File> getInternalTarget() {
125135
// used to combine the special cache file and the real target
126136
return Iterables.concat(ImmutableList.of(getCacheFile()), target);
127137
}

0 commit comments

Comments
 (0)