pull/2/head
AriaLyy 8 years ago
parent 7ae67281d0
commit f2e62c8b72
  1. 7
      downloadutil/jcenter.gradle

@ -3,7 +3,7 @@ version = PROJ_VERSION
project.archivesBaseName = PROJ_ARTIFACT_ID project.archivesBaseName = PROJ_ARTIFACT_ID
apply plugin: 'com.jfrog.bintray' apply plugin: 'com.jfrog.bintray'
apply plugin: 'com.github.dcendents.android-maven' apply plugin: 'com.github.dcendents.android-maven'
//gradlew install //gradlew bintrayupload
//############################## jarsourcesdoc start ####################################### //############################## jarsourcesdoc start #######################################
task sourcesJar(type: Jar) { task sourcesJar(type: Jar) {
@ -79,10 +79,9 @@ bintray {
key = hasProperty("bintrayKey") ? getProperty("bintrayKey") : getProperty("BINTRAY_KEY") key = hasProperty("bintrayKey") ? getProperty("bintrayKey") : getProperty("BINTRAY_KEY")
configurations = ['archives'] configurations = ['archives']
publications = ['mavenJava']
pkg { pkg {
repo = PROJ_REPE repo = PROJ_REPO
name = PROJ_NAME name = PROJ_NAME
desc = PROJ_DESCRIPTION desc = PROJ_DESCRIPTION
websiteUrl = PROJ_WEB_SITE_URL websiteUrl = PROJ_WEB_SITE_URL
@ -102,7 +101,7 @@ bintray {
} }
} }
//gradlew install //install
install { install {
repositories.mavenInstaller { repositories.mavenInstaller {
// This generates POM.xml with proper parameters // This generates POM.xml with proper parameters

Loading…
Cancel
Save