KosmosPrime / OpenComputers

Home of the OpenComputers mod for Minecraft.
https://oc.cil.li
Other
34 stars 15 forks source link

Just will not compile #5

Closed xandaaah closed 1 year ago

xandaaah commented 1 year ago

log.txt It errors out with this error message:

``A problem occurred configuring root project 'OpenComputers'.

Failed to notify project evaluation listener. Cannot mutate content repository descriptor 'BUNDELED_-356191964(file:/C:/Users/xande/.gradle/caches/forge_gradle/bundled_deobf_repo)' after repository has been used Could not find method prepareRuns() for arguments [build_9394h295q3nxnk66klauupc42$_run_closure14$_closure50@1cb9ba] on root project 'OpenComputers' of type org.gradle.api.Project. ``

xandaaah commented 1 year ago

I just realized I used main-MC1.16, so I will try dev-MC1.16 .

KosmosPrime commented 1 year ago

I don't know what the message means or what causes it, but you should use the dev branch instead (for reasons detailed in my PR I've not updated master-MC1.16 to include the latest changes).

xandaaah commented 1 year ago

The build just failed at 3 minutes and 51 seconds. I will edit this with the "log".

xandaaah commented 1 year ago

Oh... the error is `* What went wrong: Could not resolve all files for configuration ':runtimeClasspathCopy'.

Could not find net.minecraftforge:forge:1.16.5-36.2.34_mapped_official_1.16.5_at_7ee87ccb78b466786bdeeba4455845d93c9dd3ca. Searched in the following locations:

  • file:/C:/Users/xande/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.16.5-36.2.34_mapped_official_1.16.5_at_7ee87ccb78b466786bdeeba4455845d93c9dd3ca/forge-1.16.5-36.2.34_mapped_official_1.16.5_at_7ee87ccb78b466786bdeeba4455845d93c9dd3ca.pom
  • file:/C:/Users/xande/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.16.5-36.2.34_mapped_official_1.16.5_at_7ee87ccb78b466786bdeeba4455845d93c9dd3ca/forge-1.16.5-36.2.34_mapped_official_1.16.5_at_7ee87ccb78b466786bdeeba4455845d93c9dd3ca.jar Required by: project :`

Do you know where to download that file?

KosmosPrime commented 1 year ago

That file is generated by ForgeGradle using the minecraft JAR, and later used to compile the mod (probably also to run the game). You can't download it, gradle generates it.