Skip to content

Commit bb37a1e

Browse files
committed
Fix Bintray
1 parent d74633c commit bb37a1e

File tree

1 file changed

+5
-39
lines changed

1 file changed

+5
-39
lines changed

Parse/build.gradle

Lines changed: 5 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ext {
1111
projDescription = 'A library that gives you access to the powerful Parse cloud platform from your Android app.'
1212
artifact = 'parse-android'
1313
projName = 'Parse-Android'
14-
gitLink = 'https://github.com/ParsePlatform/Parse-SDK-Android'
14+
gitLink = 'https://github.com/parse-community/Parse-SDK-Android'
1515
}
1616
buildscript {
1717
repositories {
@@ -229,13 +229,15 @@ coveralls.jacocoReportPath = "${buildDir}/reports/jacoco/jacocoTestReport/jacoco
229229
bintray {
230230
user = System.getenv('BINTRAY_USER')
231231
key = System.getenv('BINTRAY_API_KEY')
232+
233+
configurations = ["archives"]
234+
232235
pkg {
233236
repo = 'maven'
234237
name = 'com.parse:parse-android'
235238
userOrg = 'parse'
236239
licenses = ['BSD License']
237-
vcsUrl = 'https://github.com/ParsePlatform/Parse-SDK-Android'
238-
240+
vcsUrl = 'https://github.com/parse-community/Parse-SDK-Android'
239241
version {
240242
name = project.version
241243
desc = projDescription
@@ -245,40 +247,4 @@ bintray {
245247
}
246248
}
247249

248-
def pomConfig = {
249-
licenses {
250-
license {
251-
name 'BSD License'
252-
url 'https://github.com/ParsePlatform/Parse-SDK-Android/blob/master/LICENSE'
253-
distribution 'repo'
254-
}
255-
}
256-
257-
developers {
258-
developer {
259-
id 'parse'
260-
name 'Parse'
261-
}
262-
}
263-
}
264-
265-
// Create the publication with the pom configuration:
266-
apply plugin: 'maven-publish'
267-
268-
publishing {
269-
publications {
270-
MyPublication(MavenPublication) {
271-
groupId group
272-
artifactId artifact
273-
version version
274-
pom.withXml {
275-
def root = asNode()
276-
root.appendNode('description', desc)
277-
root.appendNode('name', projName)
278-
root.appendNode('url', gitLink)
279-
root.children().last() + pomConfig
280-
}
281-
}
282-
}
283-
}
284250
// End of Bintray plugin

0 commit comments

Comments
 (0)