Skip to content

Commit

Permalink
Merge pull request #657 from microsoftgraph/feature/bintray-removal
Browse files Browse the repository at this point in the history
- removes bintray from repo in anticipation for service sunset
  • Loading branch information
baywet committed Feb 9, 2021
2 parents 14ac5a5 + 971b727 commit ee1678b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 67 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Microsoft Graph SDK for Java

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

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!

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

```gradle
repositories {
jcenter()
mavenCentral()
}
dependencies {
Expand Down
63 changes: 0 additions & 63 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ plugins {
id 'eclipse'
id 'maven-publish'
id 'signing'
id 'com.jfrog.bintray' version '1.8.5'
}

java {
Expand All @@ -30,9 +29,7 @@ sourceSets {

// In this section you declare where to find the dependencies of your project
repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
mavenCentral()
}

Expand Down Expand Up @@ -161,34 +158,6 @@ publishing {
}
}
}

maven {
url = 'http://oss.jfrog.org/artifactory/oss-snapshot-local'
name = 'jfrogSnapshot'

credentials {
if (project.rootProject.file('local.properties').exists()) {
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
username = (properties.containsKey('bintray.user')) ? properties.getProperty('bintray.user').toLowerCase() : "BINTRAY_USERNAME"
password = properties.getProperty('bintray.apikey')
}
}
}

maven {
url = 'https://oss.jfrog.org/artifactory/libs-release'
name = 'jfrog'

credentials {
if (project.rootProject.file('local.properties').exists()) {
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
username = (properties.containsKey('bintray.user')) ? properties.getProperty('bintray.user').toLowerCase() : "BINTRAY_USERNAME"
password = properties.getProperty('bintray.apikey')
}
}
}
}
}

Expand All @@ -204,38 +173,6 @@ def fixAscNames = { name ->
name.replace('msgraph-sdk-java', "${project.property('mavenArtifactId')}-${mavenMajorVersion}.${mavenMinorVersion}.${mavenPatchVersion}")
}
}
bintray {
if (project.rootProject.file('local.properties').exists()) {
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
user = (properties.containsKey('bintray.user')) ? properties.getProperty('bintray.user').toLowerCase() : "BINTRAY_USERNAME"
key = properties.getProperty('bintray.apikey')
}
publications = ['mavenCentralRelease']
filesSpec {
from ('build/libs') {
include 'msgraph-sdk-java*.jar.asc'
rename fixAscNames
}
from ('build') {
include 'generated-pom.xml.asc'
rename fixAscNames
}
into "com/microsoft/graph/${project.property('mavenArtifactId')}/${mavenMajorVersion}.${mavenMinorVersion}.${mavenPatchVersion}/"
}
pkg {
repo = 'Maven'
name = project.property('mavenArtifactId')
userOrg = 'microsoftgraph'
licenses = ['MIT']
vcsUrl = 'https://github.com/microsoftgraph/msgraph-sdk-java.git'
publicDownloadNumbers = true
version {
name = "${mavenMajorVersion}.${mavenMinorVersion}.${mavenPatchVersion}"
vcsTag = "${mavenMajorVersion}.${mavenMinorVersion}.${mavenPatchVersion}"
}
}
}

compileJava {
sourceCompatibility = 1.7
Expand Down
1 change: 0 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ mavenMajorVersion = 2
mavenMinorVersion = 7
mavenPatchVersion = 0
mavenArtifactSuffix =
nightliesUrl = http://dl.bintray.com/MicrosoftGraph/Maven

#These values are used to run functional tests
#If you wish to run the functional tests, edit the gradle.properties
Expand Down
2 changes: 1 addition & 1 deletion typesummary/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ plugins {

repositories {
// Use JCenter for resolving dependencies.
jcenter()
mavenCentral()
}

sourceSets {
Expand Down

0 comments on commit ee1678b

Please sign in to comment.