Skip to content

Commit

Permalink
Fix pom
Browse files Browse the repository at this point in the history
  • Loading branch information
HyCraftHD committed Aug 4, 2024
1 parent a52dceb commit 374ddea
Showing 1 changed file with 23 additions and 27 deletions.
50 changes: 23 additions & 27 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -173,34 +173,30 @@ publishing {

pom {
pom.name = project.base.archivesName.get()
ext.commonPom(it)
pom.description = "${config.github.name}"
pom.url = "https://github.com/MC-U-Team/${config.github.name}"
pom.scm {
url = "https://github.com/MC-U-Team/${config.github.name}"
connection = "scm:git:git://github.com/MC-U-Team/${config.github.name}.git"
developerConnection = "scm:git:[email protected]:MC-U-Team/${config.github.name}.git"
}
pom.issueManagement {
system = "github"
url = "https://github.com/MC-U-Team/${config.github.name}/issues"
}
pom.licenses {
license {
name = "Apache License 2.0"
url = "https://github.com/MC-U-Team/${config.github.name}/blob/${config.github.branch}/LICENSE"
distribution = "repo"
}
}
pom.developers {
developer {
name = "HyCraftHD"
}
}
}
}
}
}

ext.commonPom = { pom ->
pom.description = "${config.github.name}"
pom.url = "https://github.com/MC-U-Team/${config.github.name}"
pom.scm {
url = "https://github.com/MC-U-Team/${config.github.name}"
connection = "scm:git:git://github.com/MC-U-Team/${config.github.name}.git"
developerConnection = "scm:git:[email protected]:MC-U-Team/${config.github.name}.git"
}
pom.issueManagement {
system = "github"
url = "https://github.com/MC-U-Team/${config.github.name}/issues"
}
pom.licenses {
license {
name = "Apache License 2.0"
url = "https://github.com/MC-U-Team/${config.github.name}/blob/${config.github.branch}/LICENSE"
distribution = "repo"
}
}
pom.developers {
developer {
name = "HyCraftHD"
}
}
}

0 comments on commit 374ddea

Please sign in to comment.