Skip to content

Update Loom, gradle and maven repositories #1

Description

@typlosion14

When I try to build the gradle, I got this error:
Mod was built with a newer version of Loom (1.9.436), you are using Loom (1.5.391)
So I updated to 1.5.391 but then I got:

A problem occurred evaluating root project 'palladium-example-mod'.
> Failed to apply plugin 'dev.architectury.loom'.
> You are using an outdated version of Gradle (8.8). Gradle 8.11 or higher is required.

So I updated my gradle to 8.11 and during the update I got:

> Configure project :forge
:remapped 16 mods (srg -> named) in 1.515 s
:remapping sources (Mercury, srg -> named)
Status ERROR: org.cadixdev.mercury.shadow.org.eclipse.jdt.core code=4 Could not retrieve declared methods org.cadixdev.mercury.shadow.org.eclipse.jdt.internal.compiler.problem.AbortCompilation: Pb(347) The type dev.architectury.injectables.annotations.ExpectPlatform cannot be resolved. It is indirectly referenced from required type net.threetag.palladiumcore.registry.client.OverlayRegistry
Could not remap palladium-forge-4.4.2+1.20.1-sources.jar fully!
java.lang.NullPointerException: Cannot read field "tagBits" because "this.returnType" is null
at org.cadixdev.mercury.shadow.org.eclipse.jdt.internal.compiler.lookup.ParameterizedMethodBinding.<init>(ParameterizedMethodBinding.java:156)

And when I build, I got:

A problem occurred configuring project ':forge'.
> Could not resolve all files for configuration ':forge:modApi'.
> Could not find mezz.jei:jei-1.20.1-forge:15.20.0.100.`

To fix it: I just added in the build.gradle allprojects.repositories

 maven {
url = "https://maven.blamejared.com"
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions