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
|
|
|

|
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
|
2025-01-30 20:17:59 +00:00
|
|
|
- Maven
|
2024-05-26 13:44:53 +01:00
|
|
|
|
|
|
|
### Instructions:
|
|
|
|
|
2025-01-30 20:17:59 +00:00
|
|
|
This will automatically fetch dependencies and run the project:
|
|
|
|
|
|
|
|
```shell
|
2025-01-30 22:20:21 +00:00
|
|
|
mvn javafx:run
|
2025-01-30 20:17:59 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
#### Native Image:
|
|
|
|
|
|
|
|
##### Requirements:
|
|
|
|
- GraalVM
|
|
|
|
- Maven 3.8.8
|
|
|
|
|
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`
|