changeset 358:3a33f23a26db

try some more maven publishing items
author Marc Davis <marc.davis@mcoecn.org>
date Tue, 05 Sep 2023 16:07:29 -0400
parents ab7103f0c154
children 77ca22c4a0b3
files artifactory70-github.gradle
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/artifactory70-github.gradle	Tue Sep 05 15:40:13 2023 -0400
+++ b/artifactory70-github.gradle	Tue Sep 05 16:07:29 2023 -0400
@@ -38,9 +38,9 @@
     publish {
         def isFeature = gradle.branchStream == 'feature'
         repository {
-            repoKey = isFeature ? 'libs-branches-local' : 'libs-snapshots-local'
+            repoKey = isFeature ? "libs-branches-local/${project.gradle.branchHash}" : 'libs-snapshots-local'
             if (gradle.branch.isRelease()) {
-                repoKey = "libs-releases-local/${project.gradle.branchHash}"
+                repoKey = "libs-releases-local"
             }
             // Publisher username and password
             // Sub projects must provide these values via command line or properties file