Skip to content

Commit 74e02d8

Browse files
authored
Merge pull request #143 from microsoftgraph/feature/bintray-removal-v1
- removes bintray in preparation for platform sunset
2 parents 973bc01 + 74cca0f commit 74e02d8

File tree

3 files changed

+1
-65
lines changed

3 files changed

+1
-65
lines changed

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

@@ -153,34 +150,6 @@ publishing {
153150
}
154151
}
155152
}
156-
157-
maven {
158-
url = 'http://oss.jfrog.org/artifactory/oss-snapshot-local'
159-
name = 'jfrogSnapshot'
160-
161-
credentials {
162-
if (project.rootProject.file('local.properties').exists()) {
163-
Properties properties = new Properties()
164-
properties.load(project.rootProject.file('local.properties').newDataInputStream())
165-
username = (properties.containsKey('bintray.user')) ? properties.getProperty('bintray.user').toLowerCase() : "BINTRAY_USERNAME"
166-
password = properties.getProperty('bintray.apikey')
167-
}
168-
}
169-
}
170-
171-
maven {
172-
url = 'https://oss.jfrog.org/artifactory/libs-release'
173-
name = 'jfrog'
174-
175-
credentials {
176-
if (project.rootProject.file('local.properties').exists()) {
177-
Properties properties = new Properties()
178-
properties.load(project.rootProject.file('local.properties').newDataInputStream())
179-
username = (properties.containsKey('bintray.user')) ? properties.getProperty('bintray.user').toLowerCase() : "BINTRAY_USERNAME"
180-
password = properties.getProperty('bintray.apikey')
181-
}
182-
}
183-
}
184153
}
185154
}
186155

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

232169
compileJava {
233170
sourceCompatibility = 1.7

gradle.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ mavenMajorVersion = 1
2727
mavenMinorVersion = 0
2828
mavenPatchVersion = 8
2929
mavenArtifactSuffix =
30-
nightliesUrl = http://dl.bintray.com/MicrosoftGraph/Maven
3130

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

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Add the repository and a compile dependency for `microsoft-graph-core` to your p
1515

1616
```gradle
1717
repositories {
18-
jcenter()
18+
mavenCentral()
1919
}
2020
2121
dependencies {

0 commit comments

Comments
 (0)