i-net-software / JWebAssembly

Java bytecode to WebAssembly compiler
Apache License 2.0
985 stars 64 forks source link

Outdated #39

Closed pepperoni42069 closed 2 years ago

pepperoni42069 commented 2 years ago

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).

Horcrux7 commented 2 years ago

This can be right. But which problem do you see with JWebAssembly? Is some documentation wrong?

pepperoni42069 commented 2 years ago

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...

Horcrux7 commented 2 years ago

I change "compile" to "implementation". This is the only needed change that I can see.

pepperoni42069 commented 2 years ago

i've tried that, i wouldn't of stayed up all night unsuccessfully trying to figure it out if it was that simple

Horcrux7 commented 2 years ago

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?

pepperoni42069 commented 2 years ago

I made a new issue, also HelloWorld.wasm is generated but the file is near empty image

Horcrux7 commented 2 years ago

I close the ticket because the other issue.

If the *.wasm is very small then you have no method with @Export annotation.