comparison init70.gradle @ 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 b19757184b5e
children 36b6c48ee6c7
comparison
equal deleted inserted replaced
288:5b3fd5d6c7ae 289:093ff657fd79
11 } 11 }
12 12
13 // buildScan { termsOfServiceUrl = 'https://gradle.com/terms-of-service'; termsOfServiceAgree = 'yes' } 13 // buildScan { termsOfServiceUrl = 'https://gradle.com/terms-of-service'; termsOfServiceAgree = 'yes' }
14 14
15 final GradleVersion gradleCurrent = GradleVersion.current() 15 final GradleVersion gradleCurrent = GradleVersion.current()
16 final GradleVersion gradleV70 = GradleVersion.version('7.0') 16 final GradleVersion gradleV70 = GradleVersion.version('7.2')
17 17
18 if (gradleCurrent < gradleV70) { 18 if (gradleCurrent < gradleV70) {
19 throw new RuntimeException("this init script requires Gradle version 7.0 or higher") 19 throw new RuntimeException("This init script requires Gradle version 7.2 or higher (bugs in earlier version of Gradle 7.0 and 7.1)")
20 } 20 }
21 21
22 gradle.ext.ssdtDevelkitLocation = gradle.ext.has('ssdtDevelkitLocation') ? gradle.ssdtDevelkitLocation : 'http://hg.ssdt-ohio.org/browse/public/develkit' 22 gradle.ext.ssdtDevelkitLocation = gradle.ext.has('ssdtDevelkitLocation') ? gradle.ssdtDevelkitLocation : 'http://hg.ssdt-ohio.org/browse/public/develkit'
23 23
24 ant.property(file: System.getProperty('user.home') + "/.ssdt/private.properties") 24 ant.property(file: System.getProperty('user.home') + "/.ssdt/private.properties")