422 : Unprocessable Entity when trying to publish maven repository using Sky-uk gradle-maven-plugin

Viewed 905

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
0 Answers
Related