41 lines
751 B
Markdown
41 lines
751 B
Markdown
# Libremines
|
|
|
|
"named this way because i didn't realise there was another libremines!"
|
|
|
|

|
|
|
|
## Building
|
|
|
|
### Requirements:
|
|
- Java 21
|
|
- Maven
|
|
|
|
### Instructions:
|
|
|
|
This will automatically fetch dependencies and run the project:
|
|
|
|
```shell
|
|
mvn javafx:run
|
|
```
|
|
|
|
|
|
#### Native Image:
|
|
|
|
##### Requirements:
|
|
- GraalVM
|
|
- Maven 3.8.8
|
|
|
|
Create the maven wrapper at version 3.8.8. GluonFX does not work with newer versions as of 2024-07-27.
|
|
|
|
```shell
|
|
mvn wrapper:wrapper -Dmaven=3.8.8
|
|
```
|
|
|
|
Install dependencies, build and run:
|
|
|
|
```shell
|
|
./mvnw dependency:resolve gluonfx:build
|
|
```
|
|
|
|
A native binary should be placed at `target/gluonfx/<your architecture>/libremines`
|