Skip to content

Commit

Permalink
Merge pull request #4 from davidmoten/maven-publish
Browse files Browse the repository at this point in the history
setup for maven publish to local
  • Loading branch information
Caitlin Bales (MSFT) committed Dec 7, 2017
2 parents 8fecc59 + 4a1654e commit 900406c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
13 changes: 13 additions & 0 deletions build.gradle
Expand Up @@ -10,6 +10,8 @@
apply plugin: 'java-library'
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'maven-publish'

// In this section you declare where to find the dependencies of your project
repositories {
// Use jcenter for resolving your dependencies.
Expand All @@ -35,3 +37,14 @@ dependencies {
compile group: 'com.sun.jersey', name: 'jersey-server', version: '1.19.4'
}

publishing {
publications {
maven(MavenPublication) {
groupId 'com.microsoft.graph'
artifactId 'msgraph-sdk-java-prototype'
version '0.1-SNAPSHOT'

from components.java
}
}
}
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
#Tue Sep 12 17:36:06 PDT 2017
#Thu Dec 07 16:02:17 AEDT 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5.1-bin.zip
2 changes: 1 addition & 1 deletion settings.gradle
Expand Up @@ -15,4 +15,4 @@ include 'api'
include 'services:webservice'
*/

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

0 comments on commit 900406c

Please sign in to comment.