The error is connected to you not using the correct credentials for accessing our custom maven repository.
Please note that authentication is required in any case (regardless of read-only/download-only access) so the username and the GitHub Token with read only packages are still required.
For the most up to date ones, please refer to the following gradle file from our example: build.gradle