Skip to content

Commit

Permalink
Add mergeServiceFiles to shadowJar to prevent runtime issues with shr…
Browse files Browse the repository at this point in the history
…inkwrap
  • Loading branch information
serivesmejia committed Oct 29, 2024
1 parent 6b3285b commit becbb10
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions EOCV-Sim/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ publishing {

ext.kotest_version = '5.7.2'

shadowJar {
mergeServiceFiles()
}

test {
useJUnitPlatform()
}
Expand Down Expand Up @@ -98,6 +102,7 @@ dependencies {
implementation 'org.ow2.asm:asm:9.7'

implementation 'org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-depchain:3.3.2'
implementation 'org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-impl-maven-archive:3.3.2'
}

task(writeBuildClassJava) {
Expand Down

0 comments on commit becbb10

Please sign in to comment.