Files
AndroidJetpack/form-conductor/scripts/publish-root.gradle
T
coco 723ce1af5c a
2026-07-03 15:12:48 +08:00

50 lines
1.5 KiB
Groovy

apply plugin: 'maven-publish'
apply plugin: 'signing'
publishing {
publications {
release(MavenPublication) {
groupId = project.group
version = project.version
pom {
System.out.println("Using artifactID" + artifactId)
name = artifactId
description = "Declarative form validation library for Jetpack Compose"
url = "https://github.com/NaingAungLuu/form-conductor"
licenses {
license {
name = "MIT License"
url = "https://opensource.org/licenses/MIT"
}
}
scm {
connection = "scm:git@github.com:NaingAungLuu/form-conductor.git"
url = "https://github.com/NaingAungLuu/form-conductor"
}
developers {
developer {
id = "NaingAungLuu"
name = "Naing Aung Luu"
email = "naingaunglu01@gmail.com"
url = "https://github.com/NaingAungLuu"
}
}
}
}
}
repositories {
maven {
credentials {
username = "$ossrhUsername"
password = "$ossrhPassword"
}
name = "mavenCentral"
url = 'https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/'
}
}
}
signing {
sign publishing.publications.release
}