configure { withSourcesJar() withJavadocJar() } configure { publications.withType().configureEach { group = project.group version = project.version.toString() pom { name = artifactId description = "Declarative form validation library for Jetpack Compose" url = "https://code.thetadev.de/ThetaDev/formconductor" licenses { license { name = "MIT" url = "https://opensource.org/licenses/MIT" } } scm { connection = "scm:git@code.thetadev.de/ThetaDev/formconductor.git" url = "https://code.thetadev.de/ThetaDev/formconductor" } developers { developer { id = "NaingAungLuu" name = "Naing Aung Luu" email = "naingaunglu01@gmail.com" url = "https://github.com/NaingAungLuu" } developer { id = "ThetaDev" name = "ThetaDev" url = "https://thetadev.de" } } } } repositories { maven { name = "ThetaDev" url = uri("https://code.thetadev.de/api/packages/ThetaDev/maven") credentials(HttpHeaderCredentials::class) { name = "Authorization" value = "token ${System.getenv("FORGEJO_TOKEN")}" } authentication { create("header") } } } }