Skip to content

Commit

Permalink
Disable Caching for ArtifactFromOutput, since all it does is copy a f…
Browse files Browse the repository at this point in the history
…ile, which is the same as the cache restore would do.
  • Loading branch information
shartte committed Dec 14, 2023
1 parent c967125 commit 874fe38
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
import org.apache.commons.io.FileUtils;
import org.gradle.api.file.RegularFileProperty;
import org.gradle.api.tasks.*;
import org.gradle.work.DisableCachingByDefault;

@CacheableTask
@DisableCachingByDefault(because = "a simple file-copy is not worthwhile to cache")
public abstract class ArtifactFromOutput extends NeoGradleBase implements WithOutput {

public ArtifactFromOutput() {
Expand Down

0 comments on commit 874fe38

Please sign in to comment.