Search code examples
javamavengradlewebassemblyjwebassembly

Maven plugin for running JWebAssembly


I can see that JWebAssembly can be built with gradle https://github.com/i-net-software/JWebAssembly/wiki/Build-with-Gradle but they also provide examples for adding maven dependencies, so I would expect that there is a maven plugin as well. I can't find it anywhere. How to run JWebAssembly with maven?


Solution

  • This is from the same github wiki(https://github.com/i-net-software/JWebAssembly/wiki/Getting-Started#add-dependency-to-api):

    <repositories>
        <repository>
            <id>jitpack.io</id>
            <url>https://jitpack.io</url>
        </repository>
    </repositories>
    <dependency>
        <groupId>com.github.i-net-software</groupId>
        <artifactId>jwebassembly-api</artifactId>
        <version>master-SNAPSHOT</version>
    </dependency>