libremines/README.md

37 lines
825 B
Markdown
Raw Normal View History

2024-05-26 12:39:43 +01:00
# Libremines
2024-05-26 13:44:53 +01:00
"named this way because i didn't realise there was another libremines!"
2024-06-10 22:51:41 +01:00
![Libremines screenshot](https://github.com/shrapnelnet/libremines/assets/133451255/f19e0006-a587-4f39-8626-67606db7cd58)
2024-05-26 13:44:53 +01:00
## Building
### Requirements:
- Java 21 or newer (openjdk-21-jdk)
- Maven 3.8.8 (note: some versions cause gluon to freak out)
- GraalVM 21
### Instructions:
2024-06-16 11:20:28 +01:00
Create the maven wrapper. gluonfx does not like versions of maven that are not 3.8.8:
2024-05-26 13:44:53 +01:00
```shell
2024-06-11 23:44:27 +01:00
mvn wrapper:wrapper -Dmaven=3.8.8
2024-05-26 13:44:53 +01:00
```
2024-06-16 10:21:58 +01:00
This is helpful for version management, in case you have an incompatible version of maven installed.
2024-05-26 13:44:53 +01:00
Install dependencies:
```shell
./mvnw install
```
Build and run:
```shell
GRAALVM_HOME=/path/to/graalvm ./mvnw gluonfx:build
```
2024-06-10 22:51:41 +01:00
A native binary should be placed at `target/gluonfx/<your architecture>/libremines`