mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-23 01:27:37 +00:00
Update build.gradle
This commit is contained in:
parent
f0c646688e
commit
6c09905a8d
@ -131,12 +131,11 @@ java {
|
|||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
def config = configurations.getByName("library")
|
|
||||||
publications {
|
publications {
|
||||||
maven(MavenPublication) {
|
maven(MavenPublication) {
|
||||||
pom.withXml {
|
pom.withXml {
|
||||||
def dependenciesNode = asNode().appendNode("dependencies")
|
def dependenciesNode = asNode().appendNode("dependencies")
|
||||||
config.getAllDependencies().each { dependency ->
|
configurations.getByName("library").getAllDependencies().each { dependency ->
|
||||||
dependenciesNode.appendNode("dependency").with {
|
dependenciesNode.appendNode("dependency").with {
|
||||||
it.appendNode("groupId", dependency.group)
|
it.appendNode("groupId", dependency.group)
|
||||||
it.appendNode("artifactId", dependency.name)
|
it.appendNode("artifactId", dependency.name)
|
||||||
@ -155,7 +154,6 @@ publishing {
|
|||||||
}
|
}
|
||||||
artifacts = [shadowJar]
|
artifacts = [shadowJar]
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
|
Loading…
Reference in New Issue
Block a user