jitpack.io icon indicating copy to clipboard operation
jitpack.io copied to clipboard

Failed to publish publication 'aar' to repository 'mavenLocal'

Open avshvetsov opened this issue 7 years ago • 5 comments

Please provide:

  • Link to build log from https://jitpack.io https://jitpack.io/com/github/avshvetsov/FastScroll/6801e3c588/build.log

  • Does the project build on your machine with the same commands? No

  • What error are you seeing? FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':fastscroll:publishAarPublicationToMavenLocal'.

Failed to publish publication 'aar' to repository 'mavenLocal' Invalid publication 'aar': artifact file does not exist: '/home/jitpack/build/fastscroll/build/outputs/aar/fastscroll-release.aar'

Thank you!

avshvetsov avatar Jan 21 '19 12:01 avshvetsov

New log with the same issue: https://jitpack.io/com/github/avshvetsov/FastScroll/90be6c4754/build.log

Invalid publication 'aar': artifact file does not exist: '/home/jitpack/build/fastscroll/build/outputs/aar/fastscroll-release.aar'

avshvetsov avatar Jan 23 '19 11:01 avshvetsov

Hi,

Not quite sure what is causing the error. If the project is not building on your machine then JitPack won't be able to build it either.

jitpack-io avatar Jan 23 '19 13:01 jitpack-io

fastscroll-release.aar try replacing this with fastscroll.aar, which will look like artifact("$buildDir/outputs/aar/fastscroll.aar") in the build.gradle of the module.

devilk10 avatar Jul 15 '19 09:07 devilk10

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Oct 03 '22 02:10 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Oct 17 '22 02:10 github-actions[bot]