Mercurial > public > develkit
comparison init40-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 | 0a6b93585fbf |
children | af7191641c3b |
comparison
equal
deleted
inserted
replaced
321:6c62c55b613f | 322:7ca1fbf8636a |
---|---|
137 | 137 |
138 println "Indy available: ${rootProject.indyCapable()} enabled: ${rootProject.useIndy()}" | 138 println "Indy available: ${rootProject.indyCapable()} enabled: ${rootProject.useIndy()}" |
139 | 139 |
140 if (gradle.bambooBuild) { | 140 if (gradle.bambooBuild) { |
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 println "applying SSDT artifactory Gradle Settings (bamboo: $gradle.bambooBuild host: $hostname)" | 143 apply from: resources.text.fromInsecureUri("${gradle.ssdtDevelkitLocation}/artifactry40.gradle") |
145 apply from: "${gradle.ssdtGradlekitLocation}/artifactory40.gradle" | |
146 println "Finished applying SSDT artifactory Gradle Settings (bamboo: $gradle.bambooBuild host: $hostname)" | |
147 } | 144 } |
148 | 145 |
149 if (!rootProject.hasProperty('disableMetrics')) { | 146 if (!rootProject.hasProperty('disableMetrics')) { |
150 println "applying SSDT metrics40.gradle" | 147 println "applying SSDT metrics40.gradle" |
151 apply from: "${gradle.ssdtDevelkitLocation}/metrics40.gradle" | 148 apply from: "${gradle.ssdtDevelkitLocation}/metrics40.gradle" |