@@ -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
0 commit comments