MinecraftForge / ForgeGradle

Minecraft mod development framework used by Forge and FML for the gradle build system
GNU Lesser General Public License v2.1
507 stars 436 forks source link

Gradle 8.2 Error #929

Closed cech12 closed 11 months ago

cech12 commented 1 year ago

Hey,

after upgrading Gradle to 8.2 I get this error when I sync my Gradle script of my Minecraft mod:

Caused by: java.lang.NoSuchMethodError: 'void org.gradle.api.internal.artifacts.repositories.descriptor.FlatDirRepositoryDescriptor.<init>(java.lang.String, java.util.Collection)'
    at net.minecraftforge.artifactural.gradle.GradleRepositoryAdapter.getDescriptor(GradleRepositoryAdapter.java:232)

I hope you can help me and find the issue. :)

Full stacktrace: https://pastebin.com/393pH201

My gradle script: https://github.com/cech12/BucketLib/blob/1.20/build.gradle

LexManos commented 1 year ago

It seems that Gradle changed some of their internals in 8.2. Artifactural would need to be updated. Gunna tag Shrimp or anyone else on the gradle team if they wanna care about it.

cech12 commented 11 months ago

Fixed in NeoGradle