Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup for maven publish to local #4

Merged
merged 1 commit into from Dec 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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'