diff 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
line wrap: on
line diff
--- a/init20-git.gradle	Wed Feb 08 15:08:38 2023 +0000
+++ b/init20-git.gradle	Thu Feb 09 13:53:42 2023 -0500
@@ -134,9 +134,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)"
-    apply from: "${gradle.ssdtGradlekitLocation}/artifactory20.gradle"
+    apply from: resources.text.fromInsecureUri("${gradle.ssdtDevelkitLocation}/artifactry20.gradle")
 }
 
 if (!rootProject.hasProperty('disableMetrics')) {