Skip to content

Commit ee1678b

Browse files
authored
Merge pull request #657 from microsoftgraph/feature/bintray-removal
- removes bintray from repo in anticipation for service sunset
2 parents 14ac5a5 + 971b727 commit ee1678b

File tree

4 files changed

+3
-67
lines changed

4 files changed

+3
-67
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Microsoft Graph SDK for Java
22

3-
[![Download](https://api.bintray.com/packages/microsoftgraph/Maven/microsoft-graph/images/download.svg)](https://bintray.com/microsoftgraph/Maven/microsoft-graph/_latestVersion)
3+
[![Download](https://img.shields.io/maven-central/v/com.microsoft.graph/microsoft-graph.svg)](https://search.maven.org/artifact/com.microsoft.graph/microsoft-graph)
44

55
Get started with the Microsoft Graph SDK for Java by integrating the [Microsoft Graph API](https://developer.microsoft.com/en-us/graph/get-started/java) into your Java application!
66

@@ -14,7 +14,7 @@ Add the repository and a compile dependency for `microsoft-graph` to your projec
1414

1515
```gradle
1616
repositories {
17-
jcenter()
17+
mavenCentral()
1818
}
1919
2020
dependencies {

build.gradle

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ plugins {
1313
id 'eclipse'
1414
id 'maven-publish'
1515
id 'signing'
16-
id 'com.jfrog.bintray' version '1.8.5'
1716
}
1817

1918
java {
@@ -30,9 +29,7 @@ sourceSets {
3029

3130
// In this section you declare where to find the dependencies of your project
3231
repositories {
33-
// Use jcenter for resolving your dependencies.
3432
// You can declare any Maven/Ivy/file repository here.
35-
jcenter()
3633
mavenCentral()
3734
}
3835

@@ -161,34 +158,6 @@ publishing {
161158
}
162159
}
163160
}
164-
165-
maven {
166-
url = 'http://oss.jfrog.org/artifactory/oss-snapshot-local'
167-
name = 'jfrogSnapshot'
168-
169-
credentials {
170-
if (project.rootProject.file('local.properties').exists()) {
171-
Properties properties = new Properties()
172-
properties.load(project.rootProject.file('local.properties').newDataInputStream())
173-
username = (properties.containsKey('bintray.user')) ? properties.getProperty('bintray.user').toLowerCase() : "BINTRAY_USERNAME"
174-
password = properties.getProperty('bintray.apikey')
175-
}
176-
}
177-
}
178-
179-
maven {
180-
url = 'https://oss.jfrog.org/artifactory/libs-release'
181-
name = 'jfrog'
182-
183-
credentials {
184-
if (project.rootProject.file('local.properties').exists()) {
185-
Properties properties = new Properties()
186-
properties.load(project.rootProject.file('local.properties').newDataInputStream())
187-
username = (properties.containsKey('bintray.user')) ? properties.getProperty('bintray.user').toLowerCase() : "BINTRAY_USERNAME"
188-
password = properties.getProperty('bintray.apikey')
189-
}
190-
}
191-
}
192161
}
193162
}
194163

@@ -204,38 +173,6 @@ def fixAscNames = { name ->
204173
name.replace('msgraph-sdk-java', "${project.property('mavenArtifactId')}-${mavenMajorVersion}.${mavenMinorVersion}.${mavenPatchVersion}")
205174
}
206175
}
207-
bintray {
208-
if (project.rootProject.file('local.properties').exists()) {
209-
Properties properties = new Properties()
210-
properties.load(project.rootProject.file('local.properties').newDataInputStream())
211-
user = (properties.containsKey('bintray.user')) ? properties.getProperty('bintray.user').toLowerCase() : "BINTRAY_USERNAME"
212-
key = properties.getProperty('bintray.apikey')
213-
}
214-
publications = ['mavenCentralRelease']
215-
filesSpec {
216-
from ('build/libs') {
217-
include 'msgraph-sdk-java*.jar.asc'
218-
rename fixAscNames
219-
}
220-
from ('build') {
221-
include 'generated-pom.xml.asc'
222-
rename fixAscNames
223-
}
224-
into "com/microsoft/graph/${project.property('mavenArtifactId')}/${mavenMajorVersion}.${mavenMinorVersion}.${mavenPatchVersion}/"
225-
}
226-
pkg {
227-
repo = 'Maven'
228-
name = project.property('mavenArtifactId')
229-
userOrg = 'microsoftgraph'
230-
licenses = ['MIT']
231-
vcsUrl = 'https://github.com/microsoftgraph/msgraph-sdk-java.git'
232-
publicDownloadNumbers = true
233-
version {
234-
name = "${mavenMajorVersion}.${mavenMinorVersion}.${mavenPatchVersion}"
235-
vcsTag = "${mavenMajorVersion}.${mavenMinorVersion}.${mavenPatchVersion}"
236-
}
237-
}
238-
}
239176

240177
compileJava {
241178
sourceCompatibility = 1.7

gradle.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ mavenMajorVersion = 2
2929
mavenMinorVersion = 7
3030
mavenPatchVersion = 0
3131
mavenArtifactSuffix =
32-
nightliesUrl = http://dl.bintray.com/MicrosoftGraph/Maven
3332

3433
#These values are used to run functional tests
3534
#If you wish to run the functional tests, edit the gradle.properties

typesummary/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ plugins {
1313

1414
repositories {
1515
// Use JCenter for resolving dependencies.
16-
jcenter()
16+
mavenCentral()
1717
}
1818

1919
sourceSets {

0 commit comments

Comments
 (0)