Skip to content

Commit 43a3543

Browse files
committed
- removes hardcoded values from gradle config and replaces by references to settings
1 parent 2ea9d06 commit 43a3543

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ publishing {
7373
publications {
7474

7575
maven(MavenPublication) {
76-
groupId 'com.microsoft.graph'
77-
artifactId 'microsoft-graph'
76+
groupId project.property('mavenGroupId')
77+
artifactId project.property('mavenArtifactId')
7878
version "${mavenMajorVersion}.${mavenMinorVersion}.${mavenPatchVersion}${mavenArtifactSuffix}"
7979
from components.java
8080
artifact sourceJar
@@ -91,8 +91,8 @@ publishing {
9191
}
9292
Snapshot(MavenPublication) {
9393
customizePom(pom)
94-
groupId 'com.microsoft.graph'
95-
artifactId 'microsoft-graph'
94+
groupId project.property('mavenGroupId')
95+
artifactId project.property('mavenArtifactId')
9696
version "${mavenMajorVersion}.${mavenMinorVersion}.${mavenPatchVersion}${mavenCentralSnapshotArtifactSuffix}"
9797
from components.java
9898
pom.withXml {
@@ -105,8 +105,8 @@ publishing {
105105

106106
mavenCentralRelease(MavenPublication) {
107107
customizePom(pom)
108-
groupId 'com.microsoft.graph'
109-
artifactId 'microsoft-graph'
108+
groupId project.property('mavenGroupId')
109+
artifactId project.property('mavenArtifactId')
110110
version "${mavenMajorVersion}.${mavenMinorVersion}.${mavenPatchVersion}"
111111
from components.java
112112
pom.withXml {

0 commit comments

Comments
 (0)