bintray / gradle-bintray-plugin

Apache License 2.0
1.28k stars 194 forks source link

package not create in my maven repository #214

Open Reza-saeedi opened 6 years ago

Reza-saeedi commented 6 years ago

i clone android-gradle-3.0.0-maven-example from github and create maven repository in my panel after bintrayupload i got this result:

Executing external task 'bintrayUpload'... Configuration on demand is an incubating feature. Configuration(s) specified but the install task does not exist in project :app. :app:bintrayUpload

BUILD SUCCESSFUL in 0s 1 actionable task: 1 executed External task execution finished 'bintrayUpload'.

but package not create in my repository: how can i add this library to my repository?

rafalols commented 6 years ago

I have the same problem. Reza-saeedi did you find a solution?

jaumard commented 6 years ago

same for me :(

DavidSanf0rd commented 6 years ago

same for me

pablichjenkov commented 6 years ago

Having the same problem. classpath 'com.android.tools.build:gradle:3.1.0' classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0' classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.0'

eyalbe4 commented 6 years ago

Are you using the latest version of thre com.jfrog.bintray.plugin? Do you see the same issue when removing the --configure-on-demand gradle flag?

pablichjenkov commented 6 years ago

Sorry I forgot to say that am not using --configure-on-demand flag. I got the following message:

Task :i2kit:bintrayUpload Putting task artifact state for task ':i2kit:bintrayUpload' into context took 0.0 secs. Up-to-date check for task ':i2kit:bintrayUpload' took 0.0 secs. It is not up-to-date because: Task has not declared any outputs. Gradle Bintray Plugin version: 1.8.0 maven plugin was not applied, no pom will be uploaded. Uploading to https://api.bintray.com/content/pablichjenkov/maven/i2kit/0.0.4/com/interval/i2kit/0.0.4/i2kit-0.0.4.aar... Uploaded to 'https://api.bintray.com/content/pablichjenkov/maven/i2kit/0.0.4/com/interval/i2kit/0.0.4/i2kit-0.0.4.aar'. Uploading to https://api.bintray.com/content/pablichjenkov/maven/i2kit/0.0.4/com/interval/i2kit/0.0.4/i2kit-0.0.4.aar... Uploaded to 'https://api.bintray.com/content/pablichjenkov/maven/i2kit/0.0.4/com/interval/i2kit/0.0.4/i2kit-0.0.4.aar'. Uploading to https://api.bintray.com/content/pablichjenkov/maven/i2kit/0.0.4/com/interval/i2kit/0.0.4/i2kit-0.0.4.pom... Uploaded to 'https://api.bintray.com/content/pablichjenkov/maven/i2kit/0.0.4/com/interval/i2kit/0.0.4/i2kit-0.0.4.pom'. Published 'pablichjenkov/maven/i2kit/0.0.4'.

:i2kit:bintrayUpload (Thread[Task worker for ':',5,main]) completed. Took 3.892 secs.

BUILD SUCCESSFUL in 4s

Also, in my case I am trying to upload a library project which produces an .aar type of file.

pablichjenkov commented 6 years ago

Sorry, I have to say that after refreshing the api key all the uploads started working. Seems that my old key had some authentication problem. Anyways, it would had been better if the plugin would had alerted me.