Mercurial > public > develkit
comparison artifactory70-github.gradle @ 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 |
comparison
equal
deleted
inserted
replaced
357:ab7103f0c154 | 358:3a33f23a26db |
---|---|
36 artifactory { | 36 artifactory { |
37 contextUrl = 'https://docker.ssdt.io/artifactory' | 37 contextUrl = 'https://docker.ssdt.io/artifactory' |
38 publish { | 38 publish { |
39 def isFeature = gradle.branchStream == 'feature' | 39 def isFeature = gradle.branchStream == 'feature' |
40 repository { | 40 repository { |
41 repoKey = isFeature ? 'libs-branches-local' : 'libs-snapshots-local' | 41 repoKey = isFeature ? "libs-branches-local/${project.gradle.branchHash}" : 'libs-snapshots-local' |
42 if (gradle.branch.isRelease()) { | 42 if (gradle.branch.isRelease()) { |
43 repoKey = "libs-releases-local/${project.gradle.branchHash}" | 43 repoKey = "libs-releases-local" |
44 } | 44 } |
45 // Publisher username and password | 45 // Publisher username and password |
46 // Sub projects must provide these values via command line or properties file | 46 // Sub projects must provide these values via command line or properties file |
47 username = artifactoryUsername | 47 username = artifactoryUsername |
48 password = artifactoryPassword | 48 password = artifactoryPassword |