Skip to content

Instantly share code, notes, and snippets.

@HexBugOrion
Created December 6, 2025 20:18
Show Gist options
  • Select an option

  • Save HexBugOrion/e16921b350a06c69bf5a4de6ac355656 to your computer and use it in GitHub Desktop.

Select an option

Save HexBugOrion/e16921b350a06c69bf5a4de6ac355656 to your computer and use it in GitHub Desktop.
A problem occurred configuring root project 'minecraft-macroverse'.
> Could not resolve all artifacts for configuration 'classpath'.
> Could not resolve net.fabricmc:fabric-loom:1.14.4.
Required by:
buildscript of root project 'minecraft-macroverse' > fabric-loom:fabric-loom.gradle.plugin:1.14-SNAPSHOT:20251205.171834-3
> No matching variant of net.fabricmc:fabric-loom:1.14.4 was found. The consumer was configured to find a library for use during runtime, compatible with Java 21, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '9.1.0' but:
- Variant 'apiElements' declares a library, compatible with Java 21, packaged as a jar, and its dependencies declared externally:
- Incompatible because this component declares a component for use during compile-time and the consumer needed a component for use during runtime
- Other compatible attribute:
- Doesn't say anything about org.gradle.plugin.api-version (required '9.1.0')
- Variant 'runtimeElements' declares a library for use during runtime, compatible with Java 21, packaged as a jar, and its dependencies declared externally:
- Incompatible because this component declares a component, as well as attribute 'org.gradle.plugin.api-version' with value '9.2.0' and the consumer needed a component, as well as attribute 'org.gradle.plugin.api-version' with value '9.1.0'
- Variant 'sourcesElements' declares a component for use during runtime, and its dependencies declared externally:
- Incompatible because this component declares documentation and the consumer needed a library
- Other compatible attributes:
- Doesn't say anything about its elements (required them packaged as a jar)
- Doesn't say anything about its target Java version (required compatibility with Java 21)
- Doesn't say anything about org.gradle.plugin.api-version (required '9.1.0')
* Try:
> No matching variant errors are explained in more detail at https://docs.gradle.org/9.1.0/userguide/variant_model.html#sub:variant-no-match.
> Review the variant matching algorithm at https://docs.gradle.org/9.1.0/userguide/variant_attributes.html#sec:abm_algorithm.
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to generate a Build Scan (Powered by Develocity).
> Get more help at https://help.gradle.org.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment