comparison init20-git.gradle @ 322:7ca1fbf8636a

Add new artifactory*.gradle that removes the credentials. Update the init*-git.gradle to use this new script. The script will require a parameters in bamboo but will allow us to remove the gradlekit project.
author Marc Davis <davis@ssdt-ohio.org>
date Thu, 09 Feb 2023 13:53:42 -0500
parents 69ef3d16fb19
children e93e882cdb23
comparison
equal deleted inserted replaced
321:6c62c55b613f 322:7ca1fbf8636a
132 println "Indy available: ${rootProject.indyCapable()} enabled: ${rootProject.useIndy()}" 132 println "Indy available: ${rootProject.indyCapable()} enabled: ${rootProject.useIndy()}"
133 133
134 if (gradle.bambooBuild) { 134 if (gradle.bambooBuild) {
135 135
136 file('build-number.txt').text = "build.number=${gradle.branch.buildNumber ?: -1 }\n" 136 file('build-number.txt').text = "build.number=${gradle.branch.buildNumber ?: -1 }\n"
137 gradle.ext.ssdtGradlekitLocation = gradle.ext.has('ssdtGradlekitLocation') ? gradle.ssdtGradlekitLocation : 'http://hg.ssdt-ohio.org/ssdt/gradlekit/raw-file/tip'
138 logger.info "applying SSDT artifactory Gradle Settings (bamboo: $gradle.bambooBuild host: $hostname)" 137 logger.info "applying SSDT artifactory Gradle Settings (bamboo: $gradle.bambooBuild host: $hostname)"
139 apply from: "${gradle.ssdtGradlekitLocation}/artifactory20.gradle" 138 apply from: resources.text.fromInsecureUri("${gradle.ssdtDevelkitLocation}/artifactry20.gradle")
140 } 139 }
141 140
142 if (!rootProject.hasProperty('disableMetrics')) { 141 if (!rootProject.hasProperty('disableMetrics')) {
143 apply from: "${gradle.ssdtDevelkitLocation}/metrics.gradle" 142 apply from: "${gradle.ssdtDevelkitLocation}/metrics.gradle"
144 } 143 }