Skip to content

Commit

Permalink
Upgrade of Node.js
Browse files Browse the repository at this point in the history
Small fixes with including compose indexes to bundle
  • Loading branch information
ilgonmic committed May 23, 2024
1 parent 288d6cf commit f622956
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ COPY --from=build /kotlin-compiler-server/executor.policy /kotlin-compiler-serve
COPY --from=build /kotlin-compiler-server/indexes.json /kotlin-compiler-server/
COPY --from=build /kotlin-compiler-server/indexesJs.json /kotlin-compiler-server/
COPY --from=build /kotlin-compiler-server/indexesWasm.json /kotlin-compiler-server/
COPY --from=build /kotlin-compiler-server/indexesComposeWasm.json /kotlin-compiler-server/

ENV PORT=8080

Expand Down
7 changes: 2 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ plugins {

apply<NodeJsRootPlugin>()

// for new Wasm opcodes
the<NodeJsRootExtension>().nodeVersion = "21.0.0-v8-canary202309167e82ab1fa2"
the<NodeJsRootExtension>().nodeDownloadBaseUrl = "https://nodejs.org/download/v8-canary"

allprojects {
repositories {
mavenCentral()
Expand Down Expand Up @@ -154,6 +150,7 @@ val buildLambda by tasks.creating(Zip::class) {
from(indexes)
from(indexesJs)
from(indexesWasm)
from(indexesComposeWasm)
from(libJSFolder) { into(libJS) }
from(libWasmFolder) { into(libWasm) }
from(libComposeWasmFolder) { into(libComposeWasm) }
Expand All @@ -179,7 +176,7 @@ tasks.withType<Test> {
doFirst {
this@withType.environment(
"kotlin.wasm.node.path",
rootProject.the<NodeJsRootExtension>().requireConfigured().nodeExecutable
rootProject.the<NodeJsRootExtension>().requireConfigured().executable
)
}
}

0 comments on commit f622956

Please sign in to comment.