Skip to content

Commit

Permalink
Fix validation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebemish committed Jan 4, 2025
1 parent 61d49cf commit ef681dc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import org.gradle.api.tasks.PathSensitive;
import org.gradle.api.tasks.PathSensitivity;
import org.gradle.api.tasks.TaskAction;
import org.gradle.work.DisableCachingByDefault;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand All @@ -33,6 +34,7 @@
import java.util.Set;
import java.util.zip.ZipFile;

@DisableCachingByDefault(because = "Not worth caching")
public abstract class ExtractFabricDependencies extends DefaultTask {
@InputFiles
@PathSensitive(PathSensitivity.NONE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import org.gradle.api.tasks.PathSensitive;
import org.gradle.api.tasks.PathSensitivity;
import org.gradle.api.tasks.TaskAction;
import org.gradle.work.DisableCachingByDefault;

import javax.inject.Inject;
import java.io.File;
Expand All @@ -26,6 +27,7 @@
import java.util.Objects;
import java.util.Properties;

@DisableCachingByDefault(because = "Not worth caching")
public abstract class GenerateArgFiles extends DefaultTask {
@OutputFile
public abstract RegularFileProperty getArgFile();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
import org.gradle.api.tasks.InputFiles;
import org.gradle.api.tasks.OutputFile;
import org.gradle.api.tasks.TaskAction;
import org.gradle.work.DisableCachingByDefault;

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

@DisableCachingByDefault(because = "Not worth caching")
public abstract class MakeRemapClasspathFile extends DefaultTask {
@OutputFile
public abstract RegularFileProperty getRemapClasspathFile();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,17 @@
import org.gradle.api.tasks.Input;
import org.gradle.api.tasks.InputFiles;
import org.gradle.api.tasks.OutputFile;
import org.gradle.api.tasks.PathSensitive;
import org.gradle.api.tasks.PathSensitivity;
import org.gradle.api.tasks.TaskAction;
import org.gradle.work.DisableCachingByDefault;

import java.io.IOException;

@DisableCachingByDefault(because = "Not worth caching")
public abstract class MappingsWriter extends DefaultTask {
@InputFiles
@PathSensitive(PathSensitivity.NONE)
public abstract ConfigurableFileCollection getInputMappings();

@OutputFile
Expand Down

0 comments on commit ef681dc

Please sign in to comment.