Skip to content

Commit 900406c

Browse files
author
Caitlin Bales (MSFT)
authored
Merge pull request #4 from davidmoten/maven-publish
setup for maven publish to local
2 parents 8fecc59 + 4a1654e commit 900406c

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

build.gradle

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
apply plugin: 'java-library'
1111
apply plugin: 'java'
1212
apply plugin: 'eclipse'
13+
apply plugin: 'maven-publish'
14+
1315
// In this section you declare where to find the dependencies of your project
1416
repositories {
1517
// Use jcenter for resolving your dependencies.
@@ -35,3 +37,14 @@ dependencies {
3537
compile group: 'com.sun.jersey', name: 'jersey-server', version: '1.19.4'
3638
}
3739

40+
publishing {
41+
publications {
42+
maven(MavenPublication) {
43+
groupId 'com.microsoft.graph'
44+
artifactId 'msgraph-sdk-java-prototype'
45+
version '0.1-SNAPSHOT'
46+
47+
from components.java
48+
}
49+
}
50+
}

gradle/wrapper/gradle-wrapper.jar

0 Bytes
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Tue Sep 12 17:36:06 PDT 2017
1+
#Thu Dec 07 16:02:17 AEDT 2017
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5.1-bin.zip

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ include 'api'
1515
include 'services:webservice'
1616
*/
1717

18-
rootProject.name = 'java2'
18+
rootProject.name = 'msgraph-sdk-java-prototype'

0 commit comments

Comments
 (0)