fix mod dependency remapping timing
This commit is contained in:
parent
e54d40ee0a
commit
7fbcb37ed2
|
@ -249,6 +249,10 @@ abstract class PhytotelmaGradleExtensionImpl @Inject constructor(
|
|||
project.dependencies.add(target.name, "dev.frogmc.phytotelma.remapped_mods:$groupname:$version"+(classifier?.let { ":$it" }?:""))
|
||||
}
|
||||
}
|
||||
|
||||
project.afterEvaluate {
|
||||
remapModDependencies()
|
||||
}
|
||||
}
|
||||
|
||||
override fun minecraft(action: Action<MinecraftConfiguration>) {
|
||||
|
@ -308,8 +312,6 @@ abstract class PhytotelmaGradleExtensionImpl @Inject constructor(
|
|||
AccessWidener.apply(project, remappedJar)
|
||||
}
|
||||
}
|
||||
|
||||
remapModDependencies()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -319,7 +321,7 @@ abstract class PhytotelmaGradleExtensionImpl @Inject constructor(
|
|||
if (conf.version == null) {
|
||||
error("No loader version provided!")
|
||||
}
|
||||
project.dependencies.add(Constants.MINECRAFT_CONFIGURATION, "dev.frogmc:frogloader:${conf.version!!}")
|
||||
project.dependencies.add("implementation", "dev.frogmc:frogloader:${conf.version!!}")
|
||||
}
|
||||
|
||||
override fun froglib(action: Action<VersionConfiguration>) {
|
||||
|
|
Loading…
Reference in a new issue