- Windows
- Linux
- Mac OS X
- Android (and Ouya)
- iOS
LuaJava is a scripting tool for Java. The goal of this tool is to allow scripts written in Lua to manipulate components developed in Java.
It allows Java components to be accessed from Lua using the same syntax that is used for accessing Lua`s native objects, without any need for declarations or any kind of preprocessing. LuaJava also allows Java to implement an interface using Lua. This way any interface can be implemented in Lua and passed as parameter to any method, and when called, the equivalent function will be called in Lua, and it's result passed back to Java.
To compile and pack both natives and library, execute:
ant
This will create libs/
directory with build results.
To compile and pack natives for all platforms:
ant natives
To only compile natives:
ant compile-natives
To only pack natives:
ant pack-natives
To clean natives
ant clean-natives
To compile or pack natives only for specified platform (for example for Linux), run specified ant target:
ant compile-linux
ant pack-linux
targets can be:
- linux
- windows
- macosx
- ios
- android
To compile and pack java library:
ant library
To only compile java library:
ant compile-library
To only pack java library:
ant pack-library
To clean library
ant clean-library
This is mostly wrapper for LuaJava for cross-platform compatibility using also LibGDX SharedLibraryLoader for loading natives in cross-platform way.