Mercurial > public > develkit
changeset 354:23617a92ae36
try setting the group id with the branch hash
author | Marc Davis <marc.davis@mcoecn.org> |
---|---|
date | Tue, 05 Sep 2023 13:26:06 -0400 |
parents | c203c2024c0d |
children | b2b512824e8f |
files | artifactory70-github.gradle |
diffstat | 1 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/artifactory70-github.gradle Tue Sep 05 12:00:24 2023 -0400 +++ b/artifactory70-github.gradle Tue Sep 05 13:26:06 2023 -0400 @@ -25,8 +25,16 @@ ivyJava(IvyPublication) { from components.java } - mavenJava(MavenPublication) { - from components.java + + if (gradle.branchStream == 'feature') { + mavenJava(MavenPublication) { + from components.java + group = "${project.gradle.branchHash}/${project.getGroup()}" + } + } else { + mavenJava(MavenPublication) { + from components.java + } } } }