Update build.gradle

This commit is contained in:
Telesphoreo 2022-04-12 16:38:19 -05:00
parent f0c646688e
commit 6c09905a8d
1 changed files with 1 additions and 3 deletions

View File

@ -131,12 +131,11 @@ java {
}
publishing {
def config = configurations.getByName("library")
publications {
maven(MavenPublication) {
pom.withXml {
def dependenciesNode = asNode().appendNode("dependencies")
config.getAllDependencies().each { dependency ->
configurations.getByName("library").getAllDependencies().each { dependency ->
dependenciesNode.appendNode("dependency").with {
it.appendNode("groupId", dependency.group)
it.appendNode("artifactId", dependency.name)
@ -155,7 +154,6 @@ publishing {
}
artifacts = [shadowJar]
}
}
repositories {
maven {