Skip to content

Commit 4fcd759

Browse files
authored
Fix documentation link in Artifact Transform report (#32593)
2 parents 7319fa1 + 0e6fe6f commit 4fcd759

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

platforms/software/software-diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/ArtifactTransformsReportTaskIntegrationTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import org.gradle.util.GradleVersion
2323
* Integration tests for the {@link ArtifactTransformsReportTask}.
2424
*/
2525
class ArtifactTransformsReportTaskIntegrationTest extends AbstractIntegrationSpec {
26-
private static final String CACHEABILITY_NUDGE = "Some artifact transforms are not cacheable. This can have negative performance impacts. See more documentation here: https://docs.gradle.org/${GradleVersion.current().version}/userguide/artifact_transforms.html#artifact_transforms_with_caching."
26+
private static final String CACHEABILITY_NUDGE = "Some artifact transforms are not cacheable. This can have negative performance impacts. See more documentation here: https://docs.gradle.org/${GradleVersion.current().version}/userguide/artifact_transforms.html#sec:caching-transforms."
2727

2828
def setup() {
2929
settingsFile << """

platforms/software/software-diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/artifact/transforms/renderer/ConsoleArtifactTransformReportRenderer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ private void writeAttribute(Integer max, String name, Object value) {
110110
private void writeSuggestions(List<ReportArtifactTransform> transforms) {
111111
output.style(StyledTextOutput.Style.Info);
112112
if (transforms.stream().anyMatch(t -> !t.isCacheable())) {
113-
output.println("Some artifact transforms are not cacheable. This can have negative performance impacts. See more documentation here: " + documentationRegistry.getDocumentationFor("artifact_transforms", "artifact_transforms_with_caching") + ".");
113+
output.println("Some artifact transforms are not cacheable. This can have negative performance impacts. See more documentation here: " + documentationRegistry.getDocumentationFor("artifact_transforms", "sec:caching-transforms") + ".");
114114
}
115115
}
116116

0 commit comments

Comments
 (0)