Class UpdateableConstants

java.lang.Object
com.gtnewhorizons.gtnhgradle.UpdateableConstants

public class UpdateableConstants extends Object
Collections of version numbers and other similar "constants" that may need frequent updating.
  • Field Details

    • NEWEST_GRADLE_VERSION

      @NotNull public static final @NotNull String NEWEST_GRADLE_VERSION
      Latest Gradle version to update to.
      See Also:
    • NEWEST_BLOWDRYER_TAG

      @NotNull public static final @NotNull String NEWEST_BLOWDRYER_TAG
      Latest tag of ExampleMod with blowdryer settings
      See Also:
    • NEWEST_UNIMIXINS

      public static final String NEWEST_UNIMIXINS
      Latest version of UniMixins
      See Also:
    • NEWEST_JABEL

      @NotNull public static final @NotNull String NEWEST_JABEL
      Latest version of Jabel for modern Java support
      See Also:
    • JABEL_STUBS

      @NotNull public static final @NotNull String JABEL_STUBS
      Jabel stubs for @Desugar annotation compatibility when using JVM Downgrader
      See Also:
    • NEWEST_GTNH_LIB

      @NotNull public static final @NotNull String NEWEST_GTNH_LIB
      Latest version of GTNHLib for modern Java support
      See Also:
    • NEWEST_LWJGL3IFY

      @NotNull public static final @NotNull String NEWEST_LWJGL3IFY
      Latest version of GTNHLib for modern Java support
      See Also:
    • NEWEST_HODGEPODGE

      @NotNull public static final @NotNull String NEWEST_HODGEPODGE
      Latest version of GTNHLib for modern Java support
      See Also:
    • NEWEST_LWJGL3

      @NotNull public static final @NotNull String NEWEST_LWJGL3
      Latest version of LWJGL3 for modern Java support
      See Also:
    • MIN_GTNHLIB_FOR_JVMDG_STUBS

      @NotNull public static final @NotNull String MIN_GTNHLIB_FOR_JVMDG_STUBS
      Minimum GTNHLib version required for JVM Downgrader stub support
      See Also:
    • JVMDG_VERSION

      @NotNull public static final @NotNull String JVMDG_VERSION
      JVM Downgrader API/stubs version for shading - can be snapshot
      See Also:
    • JVMDG_GROUP

      @NotNull public static final @NotNull String JVMDG_GROUP
      JVM Downgrader group ID
      See Also:
    • JVMDG_API_ARTIFACT

      @NotNull public static final @NotNull String JVMDG_API_ARTIFACT
      JVM Downgrader Java API artifact coordinates (without version/classifier)
      See Also:
    • JVMDG_SNAPSHOT_REPO

      @NotNull public static final @NotNull String JVMDG_SNAPSHOT_REPO
      JVM Downgrader snapshot repository URL
      See Also:
    • MIN_LOMBOK_FOR_JAVA_25

      @NotNull public static final @NotNull String MIN_LOMBOK_FOR_JAVA_25
      Minimum Lombok version required for Java 25+ bytecode support
      See Also:
    • NEWEST_SPOTLESS

      @NotNull public static final @NotNull String NEWEST_SPOTLESS
      Latest version of Spotless compatible with modern Java versions
      See Also:
    • NEWEST_CHECKSTYLE

      @NotNull public static final @NotNull String NEWEST_CHECKSTYLE
      Latest version of Checkstyle compatible with modern Java versions
      See Also:
    • NEWEST_HOTSWAPAGENT

      @NotNull public static final @NotNull String NEWEST_HOTSWAPAGENT
      Latest HotSwapAgent release jar URL
      See Also:
    • NEWEST_GTNHGRADLE_SPEC

      @NotNull public static final @NotNull String NEWEST_GTNHGRADLE_SPEC
      Specifier for the latest GTNHGradle version to update to
      See Also:
    • NEWEST_IC2_SPEC

      @NotNull public static final @NotNull String NEWEST_IC2_SPEC
      Latest Industrial Craft 2 version
      See Also:
  • Constructor Details

    • UpdateableConstants

      public UpdateableConstants()
  • Method Details

    • jvmdgApiDependency

      @NotNull public static @NotNull String jvmdgApiDependency(int targetVersion)
      Returns the full dependency notation for the downgraded JVMDG API jar.
      Parameters:
      targetVersion - The Java version to downgrade to (e.g., 8)
      Returns:
      Dependency notation like "xyz.wagyourtail.jvmdowngrader:jvmdowngrader-java-api:1.3.5:downgraded-8"