Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 3.08 KB

File metadata and controls

47 lines (32 loc) · 3.08 KB

luava

An experimental Java library for embedding a Lua VM.

Build Quality Gate Status Bugs Code Smells Coverage Duplicated Lines (%) Lines of Code Reliability Rating Security Rating Technical Debt Maintainability Rating Vulnerabilities

This project allows executing Lua scripts from a Java application. It uses Foreign Function & Memory API (JEP 454) for accessing the Lua C API.

Development

Updating Lua

Lua source code is checked in lua/src/. The following files are patched compared to the original version:

  • Added lua/src/all_lua.h
  • Modified lua/src/Makefile to build Lua as a shared library.

Enable Gradle Caching

To speedup repeated builds, add org.gradle.caching=true to ~/.gradle/gradle.properties.

Native Interface

Build scripts generate native interface classes in build/generated/sources/jextract using Jextract. Scripts download and cache Jextract automatically during the build.

Check for Dependency Updates

./gradlew dependencyUpdates

Run Tests

./gradlew check