3

I'm trying to create an android library using Jitpack. Now since the maven plugin in the docs is deprecated, I'm trying to use the one by sky-uk from here. But when I try to publish the repository, I get the following error:

Execution failed for task ':imagekit:publishMavenPublishPublicationToMavenRepository'.
> Failed to publish publication 'mavenPublish' to repository 'maven'
   > Could not write to resource 'https://github.com/****/*****.git/****/unspecified/*****-unspecified.aar'.
      > Could not PUT 'https://github.com/*******/*****.git/*******/unspecified/*******-unspecified.aar'. Received status code 422 from server: Unprocessable Entity
Rishabh Jain
  • 297
  • 2
  • 13
  • 2
    Do you find any solution to it? I am facing the same issue. – Navjot Oct 22 '19 at 13:28
  • I got this error when my `artifactId` wasn't all lowercase. Reference https://github.community/t/gradle-maven-deploy-failing-with-422-unprocessable-entity/137299/3 – Rodgers Andati Dec 07 '20 at 13:58

0 Answers0