Skip to content

Commit

Permalink
update gradle enterprise version
Browse files Browse the repository at this point in the history
  • Loading branch information
ElisaMin committed Sep 8, 2022
1 parent 79d5d8d commit ac8697f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'com.gradle.enterprise' version '3.1.1'
id 'com.gradle.enterprise' version '3.11.1'
}

rootProject.name = 'shadow'
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ class ShadowExtension {

publication.pom { MavenPom pom ->
pom.withXml { xml ->
def dependenciesNode = xml.asNode().get('dependencies')?.get(0) ?: xml.asNode().appendNode('dependencies')
dependenciesNode.value = ""
def dependenciesNode = xml.asNode().appendNode('dependencies')
project.configurations.shadow.allDependencies.each {
if ((it instanceof ProjectDependency) || ! (it instanceof SelfResolvingDependency)) {
def dependencyNode = dependenciesNode.appendNode('dependency')
Expand Down

0 comments on commit ac8697f

Please sign in to comment.