Skip to content

Commit

Permalink
fix: fix not copying jar
Browse files Browse the repository at this point in the history
  • Loading branch information
duruer committed Feb 27, 2024
1 parent 65748a9 commit a39884b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,16 @@ tasks {

register("copyJar") {
pluginsDir?.let {
copy {
from(shadowJar.get().archiveFile.get().asFile.absolutePath)
into(it)
doLast {
copy {
from(shadowJar.get().archiveFile.get().asFile.absolutePath)
into(it)
}
}
}

outputs.upToDateWhen { false }
mustRunAfter(shadowJar)
}

jar {
Expand Down

0 comments on commit a39884b

Please sign in to comment.