Dependency Example
This commit is contained in:
parent
74e465a68c
commit
8850752f25
1 changed files with 15 additions and 0 deletions
15
README.md
15
README.md
|
@ -22,6 +22,21 @@ dependencies {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You should also add a dependency to `fabirc.mod.json`. BCLib uses Semantic versioning, so adding the dependcy as follows
|
||||||
|
should respect that and ensure that your mod is not loaded with an incompatible version of BCLib:
|
||||||
|
|
||||||
|
```
|
||||||
|
"depends": {
|
||||||
|
...
|
||||||
|
"bclib": "2.0.x"
|
||||||
|
},
|
||||||
|
"breaks": {
|
||||||
|
"bclib": "<2.0.6"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
In this example `2.0.6` is the BCLIb Version you are building against.
|
||||||
|
|
||||||
## Features:
|
## Features:
|
||||||
|
|
||||||
### Rendering
|
### Rendering
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue