Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

No sources and javadoc generated calling from Android Studio #65

Closed
lechuckcaptain opened this issue Aug 17, 2015 · 12 comments
Closed

No sources and javadoc generated calling from Android Studio #65

lechuckcaptain opened this issue Aug 17, 2015 · 12 comments

Comments

@lechuckcaptain
Copy link

Calling the bintrayUpload task from Android Studio (v1.4) seems that some files are not generated.

Skipping upload for missing file '...-sources.jar'.
Skipping upload for missing file '...-javadoc.jar'.

Calling the same task from console everything seems work fine.
The following are some information about my system.

../gradlew -v

------------------------------------------------------------
Gradle 2.6
------------------------------------------------------------

Build time:   2015-08-10 13:15:06 UTC
Build number: none
Revision:     233bbf8e47c82f72cb898b3e0a96b85d0aad166e

Groovy:       2.3.10
Ant:          Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM:          1.8.0_40 (Oracle Corporation 25.40-b25)
OS:           Mac OS X 10.10.4 x86_64

@bingoogolapple
Copy link

Calling the bintrayUpload task from Android Studio (v2.0.0-preview) seems that some files are not generated.

:library:bintrayUpload
Skipping upload for missing file '...-sources.jar'.
Skipping upload for missing file '...-javadoc.jar'.
Skipping upload for missing file '.../build/publications/maven/pom-default.xml'.

BUILD SUCCESSFUL

@methodus
Copy link

I have the same issue. How do I fix that?

@h3clikejava
Copy link

I have the same issue........How can i do ......

@oizo
Copy link

oizo commented Jun 20, 2016

@h3clikejava i had the same issue when running the script from Android Studio GUI, but running the script via commandline with this ./gradlew bintrayUpload command seems to work

@nanako889
Copy link

I have the same issue.
do you guys find a way to fix it?

@xrigau
Copy link
Contributor

xrigau commented Sep 9, 2016

as @oizo mentioned it should work well if you run ./gradlew bintrayUpload from the command line in a terminal, we currently don't support running it from Android Studio

@xrigau xrigau closed this as completed Sep 9, 2016
@bingoogolapple
Copy link

bingoogolapple commented Sep 10, 2016

run 「gradle clean build bintrayUpload」 from the command line in a terminal, but still have the same issue

:library:bintrayUpload
Skipping upload for missing file '/Users/sdf/Desktop/BintrayRelease/library/build/libs/library-sources.jar'.
Skipping upload for missing file '/Users/sdf/Desktop/BintrayRelease/library/build/libs/library-javadoc.jar'.
Skipping upload for missing file '/Users/sdf/Desktop/BintrayRelease/library/build/publications/maven/pom-default.xml'.

BUILD SUCCESSFUL

bintray-release.gradle

apply plugin: 'com.novoda.bintray-release'

def getBintrayUserProperty() {
    return hasProperty('BINTRAY_USER') ? BINTRAY_USER : ""
}

def getBintrayApiKeyProperty() {
    return hasProperty('BINTRAY_APIKEY') ? BINTRAY_APIKEY : ""
}

publish {
    bintrayUser = getBintrayUserProperty()
    bintrayKey = getBintrayApiKeyProperty()
    userOrg = 'bingoogolapple'
    groupId = 'cn.bingoogolapple'
    artifactId = PUBLISH_AAR_ARTIFACT_ID
    publishVersion = VERSION_NAME
    desc = PUBLISH_AAR_DESCRIPTION
    website = "https://github.com/bingoogolapple/${PUBLISH_AAR_GITHUB_REPOSITORIES_NAME}"
    dryRun = false
}

@chenhui3014
Copy link

How to solve this problem?

@suwhs
Copy link

suwhs commented Dec 29, 2016

it should work well if you run ./gradlew bintrayUpload

no, it does not work. Missing sources and javadoc jars

@xrigau
Copy link
Contributor

xrigau commented Jan 2, 2017

Ok reopening

@xrigau xrigau reopened this Jan 2, 2017
@kkmike999
Copy link

you should see #90 and #96

@blundell
Copy link
Contributor

fixed via the above linked PRs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests