// Shared publishing target: the saturnclientmc org's Maven registry on Gitea. // Publish with a token that has package:write: GITEA_TOKEN=... ./gradlew publish configure { repositories { maven { name = "Gitea" url = uri("https://git.selimaj.dev/api/packages/saturnclientmc/maven") credentials(HttpHeaderCredentials::class) { name = "Authorization" value = "token ${findProperty("giteaToken") ?: System.getenv("GITEA_TOKEN") ?: ""}" } authentication { create("header") } } } }