Build failed with an exception
lagol opened this issue ยท 2 comments
When trying to build the mod, I get the following building failure message:
% ./gradlew build
FAILURE: Build failed with an exception.
* What went wrong:
Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().
> Could not create service of type PluginResolutionStrategyInternal using BuildScopeServices.createPluginResolutionStrategy().
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 0s
I cloned the repo today, so I should be using the newest version of it.
Any ideas on this?
Thanks
Are you sure that your environment variable JAVA_HOME is set to Java 8? This issue happens when you try to build with Java 11.