aboutsummaryrefslogtreecommitdiff
path: root/bintray.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'bintray.gradle')
-rw-r--r--bintray.gradle20
1 files changed, 1 insertions, 19 deletions
diff --git a/bintray.gradle b/bintray.gradle
index d7b23d0..05700a4 100644
--- a/bintray.gradle
+++ b/bintray.gradle
@@ -15,10 +15,6 @@ buildscript {
apply plugin: org.jfrog.gradle.plugin.artifactory.ArtifactoryPlugin
apply plugin: 'maven-publish'
-def bintrayInfoFilePath = "$buildDir/outputs/bintray-descriptor.bintray-info.json"
-
-project.ext.version = '1.1.0-SNAPSHOT'
-
task sourcesJar(type: Jar) {
classifier = 'sources'
from android.sourceSets.main.java.srcDirs
@@ -34,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.ext.version)
- ((new File(bintrayInfoFilePath))).write(fileContent)
- }
-}
-
artifacts {
archives javadocJar
archives sourcesJar
@@ -54,7 +40,7 @@ publishing {
library(MavenPublication) {
groupId 'com.android.volley'
artifactId 'volley'
- version project.ext.version
+ version project.version
pom {
packaging 'aar'
}
@@ -63,10 +49,6 @@ publishing {
artifact "$buildDir/outputs/aar/volley-release.aar"
artifact sourcesJar
artifact javadocJar
- artifact(bintrayInfoFilePath) {
- builtBy bintrayInfoFile
- extension "bintray-info.json"
- }
}
}
}