libremines/README.md

35 lines
694 B
Markdown
Raw Permalink 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-07-27 23:36:02 +01:00
![Libremines screenshot](https://github.com/user-attachments/assets/e0a4e551-afdf-4fc5-91c5-7ff45d36cb64)
2024-06-10 22:51:41 +01:00
2024-05-26 13:44:53 +01:00
## Building
### Requirements:
2024-07-27 23:36:02 +01:00
- Java 21
- Maven 3.8.8 or lower
2024-05-26 13:44:53 +01:00
- GraalVM 21
### Instructions:
2024-07-27 23:36:02 +01:00
Create the maven wrapper at version 3.8.8. GluonFX does not work with newer versions as of 2024-07-27.
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-07-27 23:36:02 +01:00
Install dependencies, build and run:
2024-05-26 13:44:53 +01:00
```shell
2024-07-27 23:36:02 +01:00
./mvnw dependency:resolve gluonfx:build
2024-05-26 13:44:53 +01:00
```
2024-07-27 23:36:02 +01:00
A native binary should be placed at `target/gluonfx/<your architecture>/libremines`
Alternatively, to run using the JVM, use:
2024-05-26 13:44:53 +01:00
```shell
2024-07-27 23:36:02 +01:00
./mvnw javafx:run
2024-05-26 13:44:53 +01:00
```