Skip to content

Commit

Permalink
Merge pull request #7691 from planetf1/chassisplain
Browse files Browse the repository at this point in the history
  • Loading branch information
planetf1 authored May 24, 2023
2 parents 64d7bf2 + f32e743 commit 6b06232
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,9 @@ test {
}

// See https://stackoverflow.com/questions/61197984/bootjar-mavenjar-artifact-wasnt-produced-by-this-build
// Remove the regular (plain) jar & replace with the SpringBoot version
// Ensure the SpringBoot jar is included -- we leave the 'plain' jar in-situ too, for composing alternate chassis
configurations {
[apiElements, runtimeElements].each {
it.outgoing.artifacts.removeIf {
it.buildDependencies.getDependencies(null).contains(jar)
}
it.outgoing.artifact(bootJar)
}
}
Expand Down

0 comments on commit 6b06232

Please sign in to comment.