## 1. Publishing the lib ### 1.1 Publishing the Artifact To pubish the library manually ```bash # 1. Export your token to your active terminal environment export GITEA_TOKEN="your-token" # 2. Run the Gradle publish task locally ./gradlew publishAllPublicationsToGiteaRepository ``` ### 1.2 Publish with the pipeline 1. Create a token with read/write permission on repositories 2. Add that socket as secret to you repository so you pipeline can have access to it through `secrets.SECRET_NAME` ### 1.2 Use the library You can see the package [here](https://git.ericampire.app/ericampire/-/packages/maven/com.ericampire:samplelib/1.0.0) ```kotlin dependencies { implementation("com.ericampire:samplelib:1.0.0") } ```