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 94b9d49 commit b4a6b15
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 @@ -66,11 +66,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 b4a6b15

Please sign in to comment.