Dungeons-Guide / Skyblock-Dungeons-Guide

A mod designed to help hypixel skyblock dungeons players find secrets and solve puzzles. Also comes with lots of QOL Features
GNU Affero General Public License v3.0
130 stars 57 forks source link

Can't build (architectury gradle plugin) #518

Closed Commandcracker closed 3 weeks ago

Commandcracker commented 2 months ago

Commit: a0036cb3a724718e0a24019e5551b6ac1c7118c2 branch: dg4.0

A problem occurred configuring project ':loader'.
> Could not resolve all files for configuration ':loader:classpath'.
   > Could not resolve dev.architectury:architectury-pack200:0.1.3.
     Required by:
         project :loader > dev.architectury.architectury-pack200:dev.architectury.architectury-pack200.gradle.plugin:0.1.3
      > No matching variant of dev.architectury:architectury-pack200:0.1.3 was found. The consumer was configured to find a runtime of a library compatible with Java 8, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '7.4' but:
          - Variant 'apiElements' capability dev.architectury:architectury-pack200:0.1.3 declares a library, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares an API of a component compatible with Java 16 and the consumer needed a runtime of a component compatible with Java 8
              - Other compatible attribute:
                  - Doesn't say anything about org.gradle.plugin.api-version (required '7.4')
          - Variant 'runtimeElements' capability dev.architectury:architectury-pack200:0.1.3 declares a runtime of a library, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares a component compatible with Java 16 and the consumer needed a component compatible with Java 8
              - Other compatible attribute:
                  - Doesn't say anything about org.gradle.plugin.api-version (required '7.4')
          - Variant 'sourcesElements' capability dev.architectury:architectury-pack200:0.1.3 declares a runtime of a component, 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 target Java version (required compatibility with Java 8)
                  - Doesn't say anything about its elements (required them packaged as a jar)
                  - Doesn't say anything about org.gradle.plugin.api-version (required '7.4')

* 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.
cyoung06 commented 1 month ago

You need to build with java 17, run with java 8

cyoung06 commented 1 month ago

Actually never mind I understood error wrong

cyoung06 commented 3 weeks ago

You need to run Gradle using java 17, and run mc using java 8