Skip to content

Commit a8c4153

Browse files
committed
fix: fix not copying jar
1 parent 02b2f23 commit a8c4153

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

build.gradle.kts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,16 @@ tasks {
7979

8080
register("copyJar") {
8181
pluginsDir?.let {
82-
copy {
83-
from(shadowJar.get().archiveFile.get().asFile.absolutePath)
84-
into(it)
82+
doLast {
83+
copy {
84+
from(shadowJar.get().archiveFile.get().asFile.absolutePath)
85+
into(it)
86+
}
8587
}
8688
}
89+
90+
outputs.upToDateWhen { false }
91+
mustRunAfter(shadowJar)
8792
}
8893

8994
jar {

0 commit comments

Comments
 (0)