Skip to content

Commit 070892d

Browse files
authored
MINOR: redundant gradle expression is removed (#19200)
Note: this is a #18018 offshoot. See this comment made by @Goooler: #18018 (comment) ![image](https://github.com/user-attachments/assets/c41acba6-9f2a-44a5-b47f-60a4d7078100) Reviewers: Apoorv Mittal <[email protected]>, David Arthur <[email protected]>, Goooler <[email protected]>
1 parent 4410d35 commit 070892d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

build.gradle

-2
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,6 @@ subprojects {
369369

370370
// Fix for avoiding inclusion of runtime dependencies marked as 'shadow' in MANIFEST Class-Path.
371371
// https://github.com/GradleUp/shadow/issues/324
372-
afterEvaluate {
373372
pom.withXml { xml ->
374373
def dependenciesNode = xml.asNode().get('dependencies') ?: xml.asNode().appendNode('dependencies')
375374
project.configurations.shadowed.allDependencies.each {
@@ -380,7 +379,6 @@ subprojects {
380379
dependencyNode.appendNode('scope', 'runtime')
381380
}
382381
}
383-
}
384382
}
385383

386384
afterEvaluate {

0 commit comments

Comments
 (0)