Attempt to allow mojang mappings
This commit is contained in:
parent
42128493b4
commit
9ddf9e3d9f
|
@ -177,7 +177,11 @@ allprojects {
|
|||
|
||||
dependencies {
|
||||
minecraft "com.mojang:minecraft:${project.minecraft_version}"
|
||||
mappings "net.fabricmc:yarn:${project.minecraft_version}+${project.yarn_mappings}:v2"
|
||||
if (project.hasProperty("yarn_mappings")) {
|
||||
mappings "net.fabricmc:yarn:${project.minecraft_version}+${project.yarn_mappings}:v2"
|
||||
} else {
|
||||
mappings loom.officialMojangMappings()
|
||||
}
|
||||
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
|
||||
|
||||
testmodImplementation sourceSets.main.output
|
||||
|
|
Loading…
Reference in New Issue