Skip to content

Commit ae59a4b

Browse files
erichaagdevjthurne
andauthored
Update Gradle version exception message
Co-authored-by: Jim Hurne <jhurne@gradle.com>
1 parent a2e2bf9 commit ae59a4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/scripts/gradle/gradle-init-scripts/configure-gradle-enterprise.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import org.gradle.util.GradleVersion
22
import java.nio.charset.StandardCharsets;
33

44
if (GradleVersion.current() < GradleVersion.version("5.0")) {
5-
throw new IllegalStateException("Build validation not supported for Gradle ${GradleVersion.current()}. Upgrade your project's build to Gradle 5 or newer.")
5+
throw new IllegalStateException("The Gradle Enterprise Build Validation Scripts are not supported with Gradle ${GradleVersion.current()}. Please upgrade your project's build to Gradle 5 or newer.")
66
}
77

88
// note that there is no mechanism to share code between the initscript{} block and the main script, so some logic is duplicated

0 commit comments

Comments
 (0)