installation
Players can download WrapperLib from Curseforge, Modrinth, or Github Releases.
build.gradle​
Mod developers must add a gradle dependency.
repositories {
maven { url = "https://maven.lukegrahamlandry.ca" }
}
loom​
dependencies {
modImplementation(group: 'ca.lukegrahamlandry.lib', name: 'WrapperLib-1.19-Fabric', version: '1.1.0') { transitive false }
}
There is also a
WrapperLib-1.19-Common
artifact that can be used in the cross platform subproject of multi-loader mods with architectury-loom. This references obfuscated names so it must be added as amodImplementation
as well.
forgegradle​
dependencies {
implementation fg.deobf(group: 'ca.lukegrahamlandry.lib', name: 'WrapperLib-1.19-Forge', version: '1.1.0') { transitive false }
}
Metadata​
mods.toml
# ...
[[dependencies.modid]]
modId="wrapperlib"
mandatory=true
versionRange="[1.1,2.0)"
ordering="AFTER"
side="BOTH"
fabric.mod.json
// ...
"depends": {
// ...
"wrapperlib": ">=1.1.0"
}