Skip to content

Migrate mod to Minecraft 26.2#84

Open
koboshchan wants to merge 6 commits into
contariaa:mainfrom
koboshchan:main
Open

Migrate mod to Minecraft 26.2#84
koboshchan wants to merge 6 commits into
contariaa:mainfrom
koboshchan:main

Conversation

@koboshchan

Copy link
Copy Markdown

This pull request migrates the FastQuit mod to target Minecraft 26.2, updating the code for the relocated screen and toast manager systems, and resolving shutdown/crash listener injection targets.

@contariaa contariaa left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, is there a specific reason behind the gradle changes?

Comment thread src/main/java/me/contaria/fastquit/FastQuit.java Outdated
Comment thread src/main/java/me/contaria/fastquit/FastQuit.java Outdated
@koboshchan

Copy link
Copy Markdown
Author

Thanks for the PR, is there a specific reason behind the gradle changes?

Followed migration guide from fabric and for future supports.

Thank you comments I'll look into it soon.

@koboshchan

koboshchan commented Jul 12, 2026

Copy link
Copy Markdown
Author

Thanks for the PR, is there a specific reason behind the gradle changes?

JAVA_HOME=/Users//Library/Java/JavaVirtualMachines/openjdk-25/Contents/Home ./gradlew build
Starting a Gradle Daemon (subsequent builds will be faster)

[Incubating] Problems report is available at: file:///Users/lucaszhang/FastQuit/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'FastQuit'.
> Could not resolve all artifacts for configuration 'classpath'.
   > Could not resolve net.fabricmc:fabric-loom:1.17.14.
     Required by:
         buildscript of root project 'FastQuit' > net.fabricmc.fabric-loom:net.fabricmc.fabric-loom.gradle.plugin:1.17-SNAPSHOT:20260711.104216-14
      > No matching variant of net.fabricmc:fabric-loom:1.17.14 was found. The consumer was configured to find a library for use during runtime, compatible with Java 25, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '9.4.1' 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.4.1')
          - 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.5.0' and the consumer needed a component, as well as attribute 'org.gradle.plugin.api-version' with value '9.4.1'
          - 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 25)
                  - Doesn't say anything about org.gradle.plugin.api-version (required '9.4.1')

* Try:
> No matching variant errors are explained in more detail at https://docs.gradle.org/9.4.1/userguide/variant_model.html#sub:variant-no-match.
> Review the variant matching algorithm at https://docs.gradle.org/9.4.1/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 get full insights from a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.

BUILD FAILED in 14s

dosent build on old version. this is a build on java 25 with gradle 9.4.1.

@koboshchan koboshchan requested a review from contariaa July 12, 2026 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants