Closed pepperoni42069 closed 2 years ago
This can be right. But which problem do you see with JWebAssembly? Is some documentation wrong?
yes I spent all night trying to configure jwebassembly with gradle, but couldn't because the documentation for building with gradle is wrong. I still haven't figured it out. Documentation/Example Project with current gradle would be helpful...
I change "compile" to "implementation". This is the only needed change that I can see.
i've tried that, i wouldn't of stayed up all night unsuccessfully trying to figure it out if it was that simple
Please write a little more details. What you try? What show the Gradle console? Which files are created? Do you receive any error messages? Which?
I made a new issue, also HelloWorld.wasm is generated but the file is near empty
I close the ticket because the other issue.
If the *.wasm is very small then you have no method with @Export annotation.
compile, runtime, testCompile, and testRuntime configurations introduced by the Java plugin have been deprecated since Gradle 4.10 (Aug 27, 2018), and were finally removed in Gradle 7.0 (Apr 9, 2021).