Mercurial > public > develkit
diff 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 |
line wrap: on
line diff
--- a/init40-git.gradle Wed Feb 08 15:08:38 2023 +0000 +++ b/init40-git.gradle Thu Feb 09 13:53:42 2023 -0500 @@ -139,11 +139,8 @@ if (gradle.bambooBuild) { file('build-number.txt').text = "build.number=${gradle.branch.buildNumber ?: -1 }\n" - gradle.ext.ssdtGradlekitLocation = gradle.ext.has('ssdtGradlekitLocation') ? gradle.ssdtGradlekitLocation : 'http://hg.ssdt-ohio.org/ssdt/gradlekit/raw-file/tip' logger.info "applying SSDT artifactory Gradle Settings (bamboo: $gradle.bambooBuild host: $hostname)" - println "applying SSDT artifactory Gradle Settings (bamboo: $gradle.bambooBuild host: $hostname)" - apply from: "${gradle.ssdtGradlekitLocation}/artifactory40.gradle" - println "Finished applying SSDT artifactory Gradle Settings (bamboo: $gradle.bambooBuild host: $hostname)" + apply from: resources.text.fromInsecureUri("${gradle.ssdtDevelkitLocation}/artifactry40.gradle") } if (!rootProject.hasProperty('disableMetrics')) {