Ignoring 409 errors with Gradle when publishing

422 Views Asked by At

I configured Gradle for publishing a plugin to GitHub packages. When running the corresponding task, I get a (legitimate) 409, as I try to push the same artifact twice. Apparently, there is no way to configure GitHub packages to accept overwrites, so I was wondering whether I could tell Gradle to ignore 409 errors and go on with the next file.

I took a look at the API, but could not find anything of use.

0

There are 0 best solutions below