-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
Description
Greetings.
Thank you for providing this project, I have an high interest in it.
Although I have had a hard time to even follow the most basic Getting Started
instructions. The information seems to be outdated. Below is the Gradle 7.4 configuration, which seems to work:
plugins {
id 'java'
// Web Assembly Compiler
id "de.inetsoftware.jwebassembly" version "0.4"
}
repositories {
mavenCentral()
maven { url = uri('https://jitpack.io') }
}
dependencies {
// Web Assembly Compiler
implementation 'com.github.i-net-software:JWebAssembly:v0.4'
implementation 'com.github.i-net-software:jwebassembly-api:master-SNAPSHOT'
}
Putting this into build gradle
I have been able to import the Export
annotation and to annotate my Java Method.
import de.inetsoftware.jwebassembly.api.annotation.Export;
@Export
public static String format(String sqlStr, String... options) throws Exception {
...
}