changeset 289:093ff657fd79

SSED-1600: Changed Gradle version check from Gradle 7.0 to Gradle 7.2
author Kyle Miller <kyle.miller@mcoecn.org>
date Tue, 19 Jul 2022 16:57:55 +0100
parents 5b3fd5d6c7ae
children 36b6c48ee6c7
files init70.gradle
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/init70.gradle	Tue Jul 19 14:50:57 2022 +0100
+++ b/init70.gradle	Tue Jul 19 16:57:55 2022 +0100
@@ -13,10 +13,10 @@
 // buildScan { termsOfServiceUrl = 'https://gradle.com/terms-of-service'; termsOfServiceAgree = 'yes' }
 
 final GradleVersion gradleCurrent = GradleVersion.current()
-final GradleVersion gradleV70 = GradleVersion.version('7.0')
+final GradleVersion gradleV70 = GradleVersion.version('7.2')
 
 if (gradleCurrent < gradleV70) {
-    throw new RuntimeException("this init script requires Gradle version 7.0 or higher")
+    throw new RuntimeException("This init script requires Gradle version 7.2 or higher (bugs in earlier version of Gradle 7.0 and 7.1)")
 }
 
 gradle.ext.ssdtDevelkitLocation = gradle.ext.has('ssdtDevelkitLocation') ? gradle.ssdtDevelkitLocation : 'http://hg.ssdt-ohio.org/browse/public/develkit'