Skip to content

Commit cdf4b0e

Browse files
committed
demo: Add task to copy DLL into jpackage build directory
1 parent 036fa2b commit cdf4b0e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

demo/build.gradle.kts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ dependencies {
2323
// implementation("earth.groundctrl:javafx-fluent-theme:v2024.12a")
2424
}
2525

26+
tasks {
27+
jpackage {
28+
finalizedBy("copyDlls")
29+
}
30+
}
31+
32+
tasks.register<Copy>("copyDlls") {
33+
from(".")
34+
include("*.dll")
35+
into(file(layout.buildDirectory.dir("jpackage/JavaFX Fluent UI Gallery")))
36+
}
37+
2638
application {
2739
mainClass.set("MainKt")
2840
}

0 commit comments

Comments
 (0)