Skip to content

Commit 10b4532

Browse files
committed
wip
1 parent 29ddd61 commit 10b4532

2 files changed

Lines changed: 1 addition & 30 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
uses: crazy-max/ghaction-upx@v1.3.3
6262
with:
6363
version: latest
64-
file: build/graal/spp-cli
64+
file: build/graal/spp-cli.exe
6565
args: '-7'
6666
- uses: actions/upload-artifact@v2
6767
with:

build.gradle.kts

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -81,35 +81,6 @@ tasks.create("createProperties") {
8181
}
8282
tasks["processResources"].dependsOn("createProperties")
8383

84-
tasks {
85-
register("buildNativeImage") {
86-
doLast {
87-
val libs = File(buildDir, "libs").apply { mkdir() }
88-
val nativeImage = File(buildDir, "native-image").apply { mkdir() }
89-
90-
val args = listOf(
91-
"--shared",
92-
"-cp",
93-
"${libs.toString().replace("\\", "/").trimEnd { it == '/' }}/*",
94-
"-H:Path=$nativeImage"
95-
)
96-
97-
logger.info("============================")
98-
logger.info("")
99-
logger.info("Native-Image args are:")
100-
logger.info("$args")
101-
logger.info("")
102-
logger.info("============================")
103-
104-
val windows = true
105-
exec {
106-
this.executable = "native-image".let { if (windows) "C:\\Users\\ferge\\Desktop\\graalvm-ce-java11-21.3.0\\bin\\$it.cmd" else it }
107-
this.args = args
108-
}
109-
}
110-
}
111-
}
112-
11384
nativeImage {
11485
dependsOn("shadowJar")
11586
runtimeClasspath = configurations.shadow.get()

0 commit comments

Comments
 (0)