Skip to content

Commit

Permalink
Stop publishing bintray-info.json. (google#141)
Browse files Browse the repository at this point in the history
Seems to cause issues when promoting to Bintray, and doesn't appear to be necessary.
  • Loading branch information
jpd236 authored Jan 18, 2018
1 parent b89dfbd commit 0ebb97e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 37 deletions.
21 changes: 0 additions & 21 deletions bintray-info-template.json

This file was deleted.

16 changes: 0 additions & 16 deletions bintray.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ buildscript {
apply plugin: org.jfrog.gradle.plugin.artifactory.ArtifactoryPlugin
apply plugin: 'maven-publish'

def bintrayInfoFilePath = "$buildDir/outputs/bintray-descriptor.bintray-info.json"

task sourcesJar(type: Jar) {
classifier = 'sources'
from android.sourceSets.main.java.srcDirs
Expand All @@ -32,16 +30,6 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
from javadoc.destinationDir
}

task bintrayInfoFile {
outputs.file(bintrayInfoFilePath)
doLast {
println 'Creating bintray-info.json'
String fileContent = new File("$rootDir/bintray-info-template.json").getText('UTF-8')
fileContent = fileContent.replace('$VERSION$', project.version)
((new File(bintrayInfoFilePath))).write(fileContent)
}
}

artifacts {
archives javadocJar
archives sourcesJar
Expand All @@ -61,10 +49,6 @@ publishing {
artifact "$buildDir/outputs/aar/volley-release.aar"
artifact sourcesJar
artifact javadocJar
artifact(bintrayInfoFilePath) {
builtBy bintrayInfoFile
extension "bintray-info.json"
}
}
}
}
Expand Down

0 comments on commit 0ebb97e

Please sign in to comment.