Skip to content

KentVu/dawg-java

Repository files navigation

Android CI

dawg-java

Port of dawgdic C++ library to Java.

Build

Requirements:

  • SWIG 4.0.0 (the class generated by std_map.i required to be iterable)

Run: ./gradlew build.

If you encounter UnsatisfiedLinkError when run test from Android Studio:

Open Edit Configuration -> Templates -> Android JUnit, under VM Options change to:

-ea -Djava.library.path=../dawg-jni/build/lib/main/debug

Make sure Working directory is still $MODULE_DIR$.

References

License

Wrapper code is licensed under MIT License. Bundled dawgdic C++ library is licensed under BSD license. Bundled libb64 is Public Domain.