Unverified Commit 6b7bc1cf authored by Drakeet's avatar Drakeet Committed by GitHub

Fix skiko-jvm-runtime-macos_x64 is not found by gradle (#23)

When running `./gradlew publishToMavenLocal`, _skiko-jvm-runtime-macos-x64_ will be generated, but gradle is looking for _skiko-jvm-runtime-macos_x64_
So the target should be `"${targetOs}-${targetArch}"`

Fixed #22
parent 86d40d35
...@@ -34,7 +34,7 @@ if (osArch == "x86_64") { ...@@ -34,7 +34,7 @@ if (osArch == "x86_64") {
} else { } else {
throw Error("Unsupported arch: $osArch") throw Error("Unsupported arch: $osArch")
} }
def target = "${targetOs}_${targetArch}" def target = "${targetOs}-${targetArch}"
def version = "0.1-SNAPSHOT" def version = "0.1-SNAPSHOT"
if (project.hasProperty('skiko.version')) { if (project.hasProperty('skiko.version')) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment