comparison artifactory70-github.gradle @ 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
comparison
equal deleted inserted replaced
353:c203c2024c0d 354:23617a92ae36
23 publishing { 23 publishing {
24 publications { 24 publications {
25 ivyJava(IvyPublication) { 25 ivyJava(IvyPublication) {
26 from components.java 26 from components.java
27 } 27 }
28 mavenJava(MavenPublication) { 28
29 from components.java 29 if (gradle.branchStream == 'feature') {
30 mavenJava(MavenPublication) {
31 from components.java
32 group = "${project.gradle.branchHash}/${project.getGroup()}"
33 }
34 } else {
35 mavenJava(MavenPublication) {
36 from components.java
37 }
30 } 38 }
31 } 39 }
32 } 40 }
33 } 41 }
34 } 42 }