Mercurial > public > develkit
comparison init70-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 |
---|---|
137 println "Indy available: ${rootProject.indyCapable()} enabled: ${rootProject.useIndy()}" | 137 println "Indy available: ${rootProject.indyCapable()} enabled: ${rootProject.useIndy()}" |
138 | 138 |
139 if (gradle.bambooBuild) { | 139 if (gradle.bambooBuild) { |
140 | 140 |
141 file('build-number.txt').text = "build.number=${gradle.branch.buildNumber ?: -1 }\n" | 141 file('build-number.txt').text = "build.number=${gradle.branch.buildNumber ?: -1 }\n" |
142 gradle.ext.ssdtGradlekitLocation = gradle.ext.has('ssdtGradlekitLocation') ? gradle.ssdtGradlekitLocation : 'http://hg.ssdt-ohio.org/ssdt/gradlekit/raw-file/tip' | |
143 logger.info "applying SSDT artifactory Gradle Settings (bamboo: $gradle.bambooBuild host: $hostname)" | 142 logger.info "applying SSDT artifactory Gradle Settings (bamboo: $gradle.bambooBuild host: $hostname)" |
144 apply from: resources.text.fromInsecureUri("${gradle.ssdtGradlekitLocation}/artifactory70.gradle") | 143 apply from: resources.text.fromInsecureUri("${gradle.ssdtDevelkitLocation}/artifactry70.gradle") |
145 } | 144 } |
146 | 145 |
147 if (!rootProject.hasProperty('disableMetrics')) { | 146 if (!rootProject.hasProperty('disableMetrics')) { |
148 apply from: resources.text.fromInsecureUri("${gradle.ssdtDevelkitLocation}/metrics70.gradle") | 147 apply from: resources.text.fromInsecureUri("${gradle.ssdtDevelkitLocation}/metrics70.gradle") |
149 } | 148 } |