Skip to content

Commit 0c470e8

Browse files
committed
refactor: update Maven publication configuration in proguard-plugin build script
1 parent 2d99777 commit 0c470e8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/proguard-plugin/build.gradle.kts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,13 @@ gradlePlugin {
3737
}
3838

3939
publishing {
40-
publications.create<MavenPublication>("maven") {
41-
// pom.url.set("https://docs.faststats.dev/serviceio")
40+
publications.withType<MavenPublication>().configureEach {
4241
pom.scm {
4342
val repository = "FastStats-dev/sourcemaps"
4443
url.set("https://github.com/$repository/tree/main/packages/proguard-plugin")
4544
connection.set("scm:git:git://github.com/$repository.git")
4645
developerConnection.set("scm:git:ssh://github.com/$repository.git")
4746
}
48-
from(components["java"])
4947
}
5048
repositories.maven {
5149
val branch = if (version.toString().contains("-pre")) "snapshots" else "releases"

0 commit comments

Comments
 (0)