File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/main/java/org/gradlex/javamodule/moduleinfo/tasks Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 3838import org .gradle .api .provider .Property ;
3939import org .gradle .api .tasks .Input ;
4040import org .gradle .api .tasks .InputFiles ;
41+ import org .gradle .api .tasks .PathSensitive ;
42+ import org .gradle .api .tasks .PathSensitivity ;
4143import org .gradle .api .tasks .TaskAction ;
44+ import org .gradle .work .DisableCachingByDefault ;
4245import org .jspecify .annotations .NullMarked ;
4346
4447@ NullMarked
48+ @ DisableCachingByDefault
4549public abstract class ModuleDescriptorRecommendation extends DefaultTask {
4650
4751 private static final class Artifact {
@@ -135,12 +139,14 @@ static Java8SafeToolProvider findFirst(String name) {
135139 }
136140
137141 @ InputFiles
142+ @ PathSensitive (PathSensitivity .RELATIVE )
138143 public abstract ListProperty <File > getRuntimeArtifacts ();
139144
140145 @ Input
141146 public abstract ListProperty <ResolvedComponentResult > getRuntimeResolvedComponentResults ();
142147
143148 @ InputFiles
149+ @ PathSensitive (PathSensitivity .RELATIVE )
144150 public abstract ListProperty <File > getCompileArtifacts ();
145151
146152 @ Input
You can’t perform that action at this time.
0 commit comments