- 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:
antThis will create libs/ directory with build results.
To compile and pack natives for all platforms:
ant nativesTo only compile natives:
ant compile-nativesTo only pack natives:
ant pack-nativesTo clean natives
ant clean-nativesTo compile or pack natives only for specified platform (for example for Linux), run specified ant target:
ant compile-linux
ant pack-linuxtargets can be:
- linux
- windows
- macosx
- ios
- android
To compile and pack java library:
ant libraryTo only compile java library:
ant compile-libraryTo only pack java library:
ant pack-libraryTo clean library
ant clean-libraryThis is mostly wrapper for LuaJava for cross-platform compatibility using also LibGDX SharedLibraryLoader for loading natives in cross-platform way.