Skip to content

Commit

Permalink
Merge pull request #9 from reportportal/develop
Browse files Browse the repository at this point in the history
Adding API dependencies to transitive
  • Loading branch information
HardNorth authored Mar 4, 2021
2 parents af6f055 + 8f5eb2d commit 79228e9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions release.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,16 @@ publishing {
dependencyNode.appendNode("version", it.version)
dependencyNode.appendNode("scope", "runtime")
}
project.configurations.api
.allDependencies
.findAll { it.name != "unspecified" }
.each {
def dependencyNode = dependenciesNode.appendNode("dependency")
dependencyNode.appendNode("groupId", it.group)
dependencyNode.appendNode("artifactId", it.name)
dependencyNode.appendNode("version", it.version)
dependencyNode.appendNode("scope", "compile")
}
}
}
}
Expand Down

0 comments on commit 79228e9

Please sign in to comment.