Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xframes-project/xframes-kotlin
https://github.com/xframes-project/xframes-kotlin
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/xframes-project/xframes-kotlin
- Owner: xframes-project
- License: mit
- Created: 2024-12-01T10:01:09.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-08T15:12:03.000Z (about 1 month ago)
- Last Synced: 2024-12-08T16:19:50.983Z (about 1 month ago)
- Language: Kotlin
- Size: 1.05 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xframes-kotlin
## Prerequisites
Either [download](https://github.com/xframes-project/xframes-jni-library/releases) or build the JNI DLL and dependent DLL files.
The JNI DLL requires the generated DLL files to be in your system PATH.
On Windows:
- fmt.dll (fmtd.dll in Debug mode)
- glfw3.dll#### Windows
Temporary (Command Prompt):
`set PATH=%PATH%;C:\path\to\dlls\folder`Temporary (PowerShell):
`$env:PATH += ";C:\path\to\dlls\folder"`#### Linux/macOS
`export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/dlls/folder`### With Gradle
No need to run batch/bash files if you already installed gradle globally
#### On Windows
`.\gradlew.bat runMain`
#### On Linux/macOS
`./gradlew runMain`
#### Additional build options
`./gradlew runMain --info` # For detailed build information
`./gradlew clean runMain` # For clean build
### Generate a 'fat' JAR file using Gradle
This is almost plug and play, though OS dependent due to the JNI library. At the moment the system Path still needs to be updated.
`.\gradelw.bat fatJar`
`java -Djava.library.path=./native -jar app/build/libs/app.jar`
### Screenshots
Windows, OpenJDK 22
![image](https://github.com/user-attachments/assets/96e3a157-80e6-4b4a-bce9-64b8a749f056)