Skip to content

Commit

Permalink
Update publish task (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
tung-vu-td authored Jun 3, 2024
1 parent 4e4326c commit 30bfbf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ dependencies {
}

task fatJar(type: Jar) {
// dependsOn configurations.runtime
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
dependsOn configurations.runtimeClasspath
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
// The name "shaded" here is just to be consistent with old packaged
// when we were still maven-shade-plugin to make the fat JAR, no classes are actually get shaded or shadowed.
Expand Down

0 comments on commit 30bfbf5

Please sign in to comment.