fix mod dependency remapping timing
This commit is contained in:
parent
e54d40ee0a
commit
b720533287
|
@ -186,6 +186,10 @@ abstract class PhytotelmaGradleExtensionImpl @Inject constructor(
|
||||||
clearGlobalCache()
|
clearGlobalCache()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
project.afterEvaluate {
|
||||||
|
remapModDependencies()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@OptIn(ExperimentalPathApi::class)
|
@OptIn(ExperimentalPathApi::class)
|
||||||
|
@ -308,8 +312,6 @@ abstract class PhytotelmaGradleExtensionImpl @Inject constructor(
|
||||||
AccessWidener.apply(project, remappedJar)
|
AccessWidener.apply(project, remappedJar)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
remapModDependencies()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -319,7 +321,7 @@ abstract class PhytotelmaGradleExtensionImpl @Inject constructor(
|
||||||
if (conf.version == null) {
|
if (conf.version == null) {
|
||||||
error("No loader version provided!")
|
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>) {
|
override fun froglib(action: Action<VersionConfiguration>) {
|
||||||
|
|
Loading…
Reference in a new issue