Update README.md

This commit is contained in:
Flemmli97 2021-07-31 18:17:30 +02:00 committed by GitHub
parent 57e03502de
commit 10331bb853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,24 +13,24 @@ repositories {
}
dependencies {
modImplementation "io.github.flemmli97:flan:${flan_version}-${minecraft_version}" // for version 1.5.0 below
modImplementation "io.github.flemmli97:flan:${minecraft_version}-${flan_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
modImplementation "io.github.flemmli97:flan:${minecraft_version}-${flan_version}:${mod_loader}" // for version [1.5.0,1.6.0)
//Use the following lines for 1.6.0+
modCompileOnly('io.github.flemmli97:flan:${flan_version}-${minecraft_version}:${mod_loader}-api') {
modCompileOnly("io.github.flemmli97:flan:${minecraft_version}-${flan_version}:${mod_loader}-api") {
transitive = false //Remove this if you want to have all those optional dependencies
}
modRuntime('io.github.flemmli97:flan:${flan_version}-${minecraft_version}:${mod_loader}') {
modRuntime("io.github.flemmli97:flan:${minecraft_version}-${flan_version}:${mod_loader}") {
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
compile fg.deobf("io.github.flemmli97:flan:${minecraft_version}-${flan_version}:${mod_loader}") // for version [1.5.0,1.6.0)
//Use the following lines for 1.6.0+
compileOnly fg.deobf('io.github.flemmli97:flan:${flan_version}-${minecraft_version}:${mod_loader}-api')
runtimeOnly fg.deobf('io.github.flemmli97:flan:${flan_version}-${minecraft_version}:${mod_loader}')
compileOnly fg.deobf("io.github.flemmli97:flan:${minecraft_version}-${flan_version}:${mod_loader}-api")
runtimeOnly fg.deobf("io.github.flemmli97:flan:${minecraft_version}-${flan_version}:${mod_loader}")
}
```