Skip to content

Commit

Permalink
upgrade to gradle 3.5.1 due maven publishing bug with 3.5 and set mav…
Browse files Browse the repository at this point in the history
…en coordinates
  • Loading branch information
davidmoten committed Dec 7, 2017
1 parent 8fecc59 commit 4a1654e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
13 changes: 13 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ include 'api'
include 'services:webservice'
*/

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

0 comments on commit 4a1654e

Please sign in to comment.