Failed to apply gradle plugin
Answered
Hi! I'm trying to build the workspace but it gives the error:
> Failed to apply plugin 'net.minecraftforge.gradle'.
> Found Gradle version Gradle 8.0. Versions Gradle 6.0.0 and newer are not supported in FG3, FG4 however supports Versions 6.8.1 and newer. Consider upgrading.
What do I do to fix this?
Please sign in to leave a comment.
You have two options:
1. Change the version of Gradle used in the project to something lower than 6 - either to a local installation in Gradle settings (img below) or the distributionUrl parameter's value in the projectname/gradle/gradle-wrapper.properties file.
2. Use ForgeGradle 4 instead of 3, see https://stackoverflow.com/questions/71385038/found-gradle-version-gradle-7-4-versions-gradle-6-0-0-and-newer-are-not-support
Thank you!