Skip to content

Documentation on the Gradle Task is outdated/incomplete #42

@manticore-projects

Description

@manticore-projects

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions