Skip to content

Commit 668bd16

Browse files
author
Caitlin Bales (MSFT)
committed
Re-add publishing section to build.gradle
1 parent 4733365 commit 668bd16

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

build.gradle

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,29 @@ dependencies {
3535
compile 'com.sun.jersey:jersey-server:1.19.4'
3636
}
3737

38+
39+
publishing {
40+
41+
publications {
42+
43+
maven(MavenPublication) {
44+
45+
groupId 'com.microsoft.graph'
46+
47+
artifactId 'microsoft-graph'
48+
49+
version '${mavenMajorVersion}.${mavenMinorVersion}.SNAPSHOT'
50+
51+
from components.java
52+
53+
artifact sourceJar
54+
55+
}
56+
57+
}
58+
59+
}
60+
3861
task sourceJar(type: Jar) {
3962
classifier = 'sources'
4063
from sourceSets.main.allJava

0 commit comments

Comments
 (0)