We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf6442c commit e543ac6Copy full SHA for e543ac6
1 file changed
build.gradle.kts
@@ -79,9 +79,14 @@ tasks.create("createProperties") {
79
}
80
tasks["processResources"].dependsOn("createProperties")
81
82
+configurations {
83
+ create("empty")
84
+}
85
+
86
nativeImage {
87
dependsOn("shadowJar")
88
setClasspath(File(project.buildDir, "libs/spp-cli-$version.jar"))
89
+ runtimeClasspath = configurations.getByName("empty")
90
graalVmHome = System.getenv("GRAALVM_HOME")
91
buildType { build ->
92
build.executable(main = "spp.cli.Main")
0 commit comments