Update README.md

This commit is contained in:
Flemmli97 2021-07-21 00:33:27 +02:00 committed by GitHub
parent 649ad3c959
commit 5cde528d0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,23 @@ repositories {
dependencies {
modImplementation "io.github.flemmli97:flan:${flan_version}-${minecraft_version}" // for version 1.5.0 below
//Fabric==========
modImplementation "io.github.flemmli97:flan:${flan_version}-${minecraft_version}:${mod_loader}" // for version 1.5.0 and up
//Use the following lines for 1.6.0+
modCompileOnly('io.github.flemmli97:flan:1.17.1-1.5.4:api') {
transitive = false //Remove this if you want to have all those optional dependencies
}
modRuntime('io.github.flemmli97:flan:1.17.1-1.5.4:api') {
transitive = false //Remove this if you want to have all those optional dependencies
}
//Forge==========
compile fg.deobf("io.github.flemmli97:flan:${flan_version}-${minecraft_version}:${mod_loader}") // for version 1.5.0 and up
//Use the following lines for 1.6.0+
compileOnly fg.deobf('io.github.flemmli97:flan:1.17.1-1.5.4:api')
runtimeOnly fg.deobf('io.github.flemmli97:flan:1.17.1-1.5.4:api')
}
```