mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-22 17:17:37 +00:00
Update build.gradle
This commit is contained in:
parent
f0c646688e
commit
6c09905a8d
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user