Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
import org.gradle.api.tasks.Internal;
import org.gradle.api.tasks.Optional;
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 org.yaml.snakeyaml.DumperOptions;
import org.yaml.snakeyaml.Yaml;

Expand Down Expand Up @@ -51,6 +54,7 @@
* annotations and creates a ZIP artifact containing requirements, SVCs, test results, and
* combined annotations.
*/
@DisableCachingByDefault(because = "Assembles build artifacts — not safe to cache")
public class RequirementsToolTask extends DefaultTask {

// Constants matching Maven plugin
Expand Down Expand Up @@ -132,6 +136,7 @@ public RequirementsToolTask() {
*/
@Optional
@InputFile
@PathSensitive(PathSensitivity.NONE)
public RegularFileProperty getRequirementsAnnotationsFile() {
return requirementsAnnotationsFile;
}
Expand All @@ -142,6 +147,7 @@ public RegularFileProperty getRequirementsAnnotationsFile() {
*/
@Optional
@InputFile
@PathSensitive(PathSensitivity.NONE)
public RegularFileProperty getSvcsAnnotationsFile() {
return svcsAnnotationsFile;
}
Expand Down Expand Up @@ -171,6 +177,7 @@ public RegularFileProperty getOutputDirectory() {
*/
@InputDirectory
@Optional
@PathSensitive(PathSensitivity.NONE)
public RegularFileProperty getDatasetPath() {
return datasetPath;
}
Expand Down