You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@InputFile
public final Provider<RegularFile> getJarFiles() {
return jarFile;
}
The default for @InputFile is PathSensitivity of ABSOLUTE, which means if any part of the file path changes, it breaks build caching, which is a strong possibility, esp for CI where the path may have a random element to it.
Adding @PathSensitive(PathSensitivity.RELATIVE) is the easy solution.
The text was updated successfully, but these errors were encountered:
jarFiles currently defined as:
The default for @InputFile is PathSensitivity of ABSOLUTE, which means if any part of the file path changes, it breaks build caching, which is a strong possibility, esp for CI where the path may have a random element to it.
Adding
@PathSensitive(PathSensitivity.RELATIVE)
is the easy solution.The text was updated successfully, but these errors were encountered: