Skip to content

Commit

Permalink
Fix more validation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebemish committed Jan 4, 2025
1 parent ef681dc commit f7b79d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import org.gradle.jvm.toolchain.JavaLanguageVersion;
import org.gradle.jvm.toolchain.JavaLauncher;
import org.gradle.jvm.toolchain.JavaToolchainService;
import org.gradle.work.DisableCachingByDefault;

import javax.inject.Inject;
import java.io.File;
Expand All @@ -51,7 +52,7 @@
import java.util.Set;
import java.util.stream.Collectors;

@SuppressWarnings("UnstableApiUsage")
@DisableCachingByDefault(because = "TaskGraphRunner cache makes local caching a waste of disk space; remote caching disabled as gradle is not selective")
public abstract class TaskGraphExecution extends DefaultTask {
private static final Gson GSON = new GsonBuilder().create();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
import org.gradle.api.tasks.Input;
import org.gradle.api.tasks.OutputFile;
import org.gradle.api.tasks.TaskAction;
import org.gradle.work.DisableCachingByDefault;

import java.io.IOException;
import java.io.UncheckedIOException;
import java.nio.file.Files;

@DisableCachingByDefault(because = "Not worth caching")
public abstract class WriteFile extends DefaultTask {
@Input
public abstract Property<String> getContents();
Expand Down

0 comments on commit f7b79d8

Please sign in to comment.