Skip to content

Commit 5b4b16b

Browse files
committed
Rename project name so that Bintray will upload it properly
1 parent 4cd7881 commit 5b4b16b

File tree

3 files changed

+3
-36
lines changed

3 files changed

+3
-36
lines changed

Parse/build.gradle

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ bintray {
230230
user = System.getenv('BINTRAY_USER')
231231
key = System.getenv('BINTRAY_API_KEY')
232232

233-
publications = ["MyPublication"]
233+
configurations = ["archives"]
234234

235235
publish = true
236236
pkg {
@@ -277,38 +277,4 @@ def pomConfig = {
277277
}
278278
}
279279

280-
// Create the publication with the pom configuration:
281-
apply plugin: 'maven-publish'
282-
283-
publishing {
284-
publications {
285-
MyPublication(MavenPublication) {
286-
groupId group
287-
// We have to specify it here because otherwise Bintray's plugin will assume the artifact's name is Parse
288-
artifactId artifact
289-
artifacts = [androidSourcesJar, bundleRelease]
290-
version version
291-
pom.withXml {
292-
def root = asNode()
293-
root.appendNode('description', projDescription)
294-
root.appendNode('name', projName)
295-
root.appendNode('url', gitLink)
296-
root.children().last() + pomConfig
297-
298-
// maven-publish workaround to include dependencies
299-
def dependenciesNode = asNode().appendNode('dependencies')
300-
301-
//Iterate over the compile dependencies (we don't want the test ones), adding a <dependency> node for each
302-
configurations.compile.allDependencies.each {
303-
def dependencyNode = dependenciesNode.appendNode('dependency')
304-
dependencyNode.appendNode('groupId', it.group)
305-
dependencyNode.appendNode('artifactId', it.name)
306-
dependencyNode.appendNode('version', it.version)
307-
}
308-
309-
}
310-
}
311-
}
312-
}
313-
314280
// End of Bintray plugin

ParseStarterProject/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ android {
2222
dependencies {
2323
compile "com.android.support:appcompat-v7:$supportLibVersion"
2424

25-
compile project(':Parse')
25+
compile project(':parse-android')
2626
}

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
include ':Parse'
22
include ':ParseStarterProject'
33

4+
project(":Parse").name = "parse-android"

0 commit comments

Comments
 (0)