Publish android dependency from self-hosted private repository

HI Team

We have our own organization repository on GitLab and we want to publish android artifact publically but by keeping the source code on our own private repository. Could you please suggest some references or steps on how we can achieve this?

You can connect me: ajay.pathania@vtnetzwelt.com

Your quick support is appriciated.
Thanks