Skip to content

Commit

Permalink
Merge pull request retrooper#881 from booky10/fix/version-hash-publis…
Browse files Browse the repository at this point in the history
…hing

Don't specify version hash in published maven pom
  • Loading branch information
retrooper authored Jul 10, 2024
2 parents facc6bc + 0a68956 commit 149483e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,13 @@ publishing {
dependencyNode.appendNode("scope", "compile")
}

// project dependencies are other packetevents subprojects
// which this subproject depends on, so it's fine to assume some stuff here
projectDeps.forEach {
val dependencyNode = dependenciesNode.appendNode("dependency")
dependencyNode.appendNode("groupId", it.group)
dependencyNode.appendNode("artifactId", "packetevents-" + it.name)
dependencyNode.appendNode("version", it.version)
dependencyNode.appendNode("version", rootProject.ext["versionNoHash"])
dependencyNode.appendNode("scope", "compile")
}
}
Expand Down

0 comments on commit 149483e

Please sign in to comment.