Open BluCobalt opened 3 years ago
Example of similar issue.
FAILURE: Build failed with an exception.
* Where:
Build file 'D:\Users\Nico\Desktop\Ledgeprev\build.gradle.kts' line: 59
* What went wrong:
Script compilation errors:
Line 059: minecraft(libs.minecraft)
^ Unresolved reference: libs
Line 060: mappings(variantOf(libs.yarn.mappings) { classifier("v2") })
^ Unresolved reference: libs
Line 060: mappings(variantOf(libs.yarn.mappings) { classifier("v2") })
^ Unresolved reference: classifier
Line 061: modImplementation(libs.fabric.loader)
^ Unresolved reference: libs
Line 064: modImplementation(libs.fabric.api)
^ Unresolved reference: libs
Line 067: modImplementationAndInclude(libs.fabric.permissions)
^ Unresolved reference: libs
Line 070: modImplementationAndInclude(libs.translations)
^ Unresolved reference: libs
Line 073: modImplementation(libs.fabric.kotlin)
^ Unresolved reference: libs
Line 076: shadow(libs.exposed.core)
^ Unresolved reference: libs
Line 077: shadow(libs.exposed.dao)
^ Unresolved reference: libs
Line 078: shadow(libs.exposed.jdbc)
^ Unresolved reference: libs
Line 079: shadow(libs.exposed.java.time)
^ Unresolved reference: libs
Line 080: shadow(libs.sqlite.jdbc)
^ Unresolved reference: libs
Line 083: shadow(libs.konf.core)
^ Unresolved reference: libs
Line 084: shadow(libs.konf.toml)
^ Unresolved reference: libs
Line 087: modRuntime(libs.wdmcf)
^ Unresolved reference: libs
Line 104: "fabricLoader" to libs.versions.fabric.loader.get(),
^ Unresolved reference: libs
Line 105: "fabricApi" to libs.versions.fabric.api.get(),
^ Unresolved reference: libs
Line 106: "fabricKotlin" to libs.versions.fabric.kotlin.get(),
^ Unresolved reference: libs
Line 211: addGameVersion(libs.versions.minecraft.get())
^ Unresolved reference: libs
Line 244: addGameVersion(libs.versions.minecraft.get())
^ Unresolved reference: libs
21 errors
For example, lets say you had two subprojects,
a
andb
.a
depends onb
. Normally, you could just do an implementation withimplementation(project(":b"))
, which would compile subprojectb
beforea
, but if you needed to use amodImplementation
, the build fora
fails because it doesn't buildb
beforea
.